diff main.c @ 505:12939e665e49

Fix Windows build.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 02 Jun 2012 22:38:47 +0300
parents bac3f9af112c
children 942eea564b15
line wrap: on
line diff
--- a/main.c	Sat Jun 02 22:00:25 2012 +0300
+++ b/main.c	Sat Jun 02 22:38:47 2012 +0300
@@ -1972,9 +1972,7 @@
 #ifdef __WIN32
     if (errorMessages)
     {
-        char *tmp;
-        wclear(editWin);
-        tmp = nnwin_prompt_requester(editWin, "Press enter to quit.\n", FALSE);
+        char *tmp = nnwin_prompt_requester("Press enter to quit.\n", FALSE);
         th_free(tmp);
     }
 #endif