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:
parent
deaa6ad5f2
commit
38ea9f14b7
@ -551,7 +551,7 @@ int user_start(int argc, char *argv[])
|
|||||||
/* Create window #1 */
|
/* Create window #1 */
|
||||||
|
|
||||||
message("user_start: Create window #1\n");
|
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);
|
message("user_start: hwnd1=%p\n", hwnd1);
|
||||||
|
|
||||||
if (!hwnd1)
|
if (!hwnd1)
|
||||||
|
Loading…
Reference in New Issue
Block a user