Index: uspace/app/uidemo/uidemo.c
===================================================================
--- uspace/app/uidemo/uidemo.c	(revision c68c18b9bb5f07126605a1631863634fac2f1ffb)
+++ uspace/app/uidemo/uidemo.c	(revision 73abf491fd74e2df668b93ec7b38c266f85bac09)
@@ -427,5 +427,5 @@
 	}
 
-	rc = ui_entry_create(ui_res, "", &demo.entry);
+	rc = ui_entry_create(window, "", &demo.entry);
 	if (rc != EOK) {
 		printf("Error creating entry.\n");
