From f75d5d37d2dacb8cd7325a38c82f3ae1d8846dbf Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 24 Apr 2010 00:09:01 +0000 Subject: [PATCH] Documentation/NXGraphicsSubsystem.html git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2625 42af7a65-404d-4744-a932-0658087f49c3 --- configs/sam3u-ek/nx/defconfig | 2 +- examples/nx/nx_main.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configs/sam3u-ek/nx/defconfig b/configs/sam3u-ek/nx/defconfig index 7c944798ba..bc94309ec6 100755 --- a/configs/sam3u-ek/nx/defconfig +++ b/configs/sam3u-ek/nx/defconfig @@ -878,7 +878,7 @@ CONFIG_EXAMPLES_NX_TBCOLOR=0xad55 CONFIG_EXAMPLES_NX_FONTCOLOR=0x0000 CONFIG_EXAMPLES_NX_BPP=16 CONFIG_EXAMPLES_NX_RAWWINDOWS=n -CONFIG_EXAMPLES_NX_STACKSIZE=8192 +CONFIG_EXAMPLES_NX_STACKSIZE=2048 CONFIG_EXAMPLES_NX_CLIENTPRIO=80 CONFIG_EXAMPLES_NX_SERVERPRIO=120 CONFIG_EXAMPLES_NX_NOTIFYSIGNO=4 diff --git a/examples/nx/nx_main.c b/examples/nx/nx_main.c index 4f5fe8cd4b..eac7c12b11 100644 --- a/examples/nx/nx_main.c +++ b/examples/nx/nx_main.c @@ -853,8 +853,8 @@ int user_start(int argc, char *argv[]) /* Close the window 2 */ errout_with_hwnd2: - message("user_start: Close window\n"); - (void)nxeg_closewindow(hwnd2, &g_wstate[2]); + message("user_start: Close window #2\n"); + (void)nxeg_closewindow(hwnd2, &g_wstate[1]); /* Close the window1 */