Browse Source

Under MinGW window is now kept open until a key is pressed

pre-master-46
sjborley 21 years ago
parent
commit
52cab1ce1a
  1. 8
      src/nghelp.c

8
src/nghelp.c

@ -85,7 +85,13 @@ out:
}
#endif /* X_DISPLAY_MISSING */
exit(EXIT_NORMAL);
#ifdef HAS_WINDOWS
/* Keep window open untill a key is pressed */
printf("Press a key to quit\n");
while( getchar() == EOF) {}
#endif /* HAS_WINDOWS */
return EXIT_NORMAL;
}
void

Loading…
Cancel
Save