From 38ea9f14b79f557cb63ca3302600c2aae283a0bf Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 1 Dec 2008 15:13:12 +0000 Subject: [PATCH] Fix passed window number git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1369 42af7a65-404d-4744-a932-0658087f49c3 --- examples/nx/nx_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/nx/nx_main.c b/examples/nx/nx_main.c index f1a136f827..febc8cc7fa 100644 --- a/examples/nx/nx_main.c +++ b/examples/nx/nx_main.c @@ -551,7 +551,7 @@ int user_start(int argc, char *argv[]) /* Create window #1 */ message("user_start: Create window #1\n"); - hwnd1 = nx_openwindow(g_hnx, &g_nxcb1, (FAR void *)2); + hwnd1 = nx_openwindow(g_hnx, &g_nxcb1, (FAR void *)1); message("user_start: hwnd1=%p\n", hwnd1); if (!hwnd1)