From c88c7c9b4b49ed594f2dd21c447f046d95935e72 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 1 May 2012 22:31:26 +0000 Subject: NxWM update git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4683 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- NxWidgets/UnitTests/nxwm/main.cxx | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'NxWidgets/UnitTests') diff --git a/NxWidgets/UnitTests/nxwm/main.cxx b/NxWidgets/UnitTests/nxwm/main.cxx index d93d9b391..f07cdb19c 100644 --- a/NxWidgets/UnitTests/nxwm/main.cxx +++ b/NxWidgets/UnitTests/nxwm/main.cxx @@ -172,6 +172,17 @@ int MAIN_NAME(int argc, char *argv[]) return EXIT_FAILURE; } + // Initialize the NSH library + + printf(MAIN_STRING "Initialize the NSH library\n"); + if (!NxWM::nshlibInitialize()) + { + printf(MAIN_STRING "ERROR: Failed to initialize the NSH library\n"); + delete window; + delete g_nxwmtest.taskbar; + return EXIT_FAILURE; + } + // Add the NxConsole application to the start window NxWM::CNxConsole *console = (NxWM::CNxConsole *)0; // Avoid compiler complaint -- cgit v1.2.3