1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-02 10:04:33 +00:00

No need to make leaveok changes win32 only.

This commit is contained in:
Con Kolivas 2011-07-23 16:17:28 +10:00
parent 4a34d10477
commit 039a5ea7cd

2
main.c
View File

@ -998,11 +998,9 @@ static void workio_cmd_free(struct workio_cmd *wc)
static void disable_curses(void) static void disable_curses(void)
{ {
if (test_and_clear(&curses_active)) { if (test_and_clear(&curses_active)) {
#ifdef WIN32
leaveok(logwin, false); leaveok(logwin, false);
leaveok(statuswin, false); leaveok(statuswin, false);
leaveok(mainwin, false); leaveok(mainwin, false);
#endif
nocbreak(); nocbreak();
echo(); echo();
delwin(logwin); delwin(logwin);