comparison 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
comparison
equal deleted inserted replaced
504:60e04709ce0f 505:12939e665e49
1970 nn_editbuf_free(histBuf[index]); 1970 nn_editbuf_free(histBuf[index]);
1971 1971
1972 #ifdef __WIN32 1972 #ifdef __WIN32
1973 if (errorMessages) 1973 if (errorMessages)
1974 { 1974 {
1975 char *tmp; 1975 char *tmp = nnwin_prompt_requester("Press enter to quit.\n", FALSE);
1976 wclear(editWin);
1977 tmp = nnwin_prompt_requester(editWin, "Press enter to quit.\n", FALSE);
1978 th_free(tmp); 1976 th_free(tmp);
1979 } 1977 }
1980 #endif 1978 #endif
1981 1979
1982 nnwin_shutdown(); 1980 nnwin_shutdown();