changeset 505:12939e665e49

Fix Windows build.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 02 Jun 2012 22:38:47 +0300
parents 60e04709ce0f
children 8734a02a86ec
files main.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
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