Fix passed window number

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1369 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2008-12-01 15:13:12 +00:00
parent deaa6ad5f2
commit 38ea9f14b7

View File

@ -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)