yet more Windows startup; also safestartup vestige
This commit is contained in:
@@ -424,6 +424,12 @@ scores_only(int argc, char **argv, const char *dir)
|
||||
(void) whoami(); /* set up default plname[] */
|
||||
#endif
|
||||
prscore(argc, argv);
|
||||
#ifdef MSWIN_GRAPHICS
|
||||
/* NetHackW can also support WINDOWPORT(curses) now, so check */
|
||||
if (WINDOWPORT(mswin)) {
|
||||
wait_synch();
|
||||
}
|
||||
#endif
|
||||
|
||||
nh_terminate(EXIT_SUCCESS); /* bypass opt_terminate() */
|
||||
/*NOTREACHED*/
|
||||
|
||||
@@ -7331,12 +7331,10 @@ initoptions_finish(void)
|
||||
* Option processing can take place before a user-decided WindowPort
|
||||
* is even initialized, so check for that too.
|
||||
*/
|
||||
if (!WINDOWPORT(safestartup)) {
|
||||
if (iflags.hilite_delta && !wc2_supported("statushilites")) {
|
||||
raw_printf("Status highlighting not supported for %s interface.",
|
||||
windowprocs.name);
|
||||
iflags.hilite_delta = 0;
|
||||
}
|
||||
if (iflags.hilite_delta && !wc2_supported("statushilites")) {
|
||||
raw_printf("Status highlighting not supported for %s interface.",
|
||||
windowprocs.name);
|
||||
iflags.hilite_delta = 0;
|
||||
}
|
||||
#endif
|
||||
update_rest_on_space();
|
||||
|
||||
@@ -333,7 +333,7 @@ choose_windows(const char *s)
|
||||
if (tmps)
|
||||
free((genericptr_t) tmps) /*, tmps = 0*/ ;
|
||||
|
||||
if (windowprocs.win_raw_print == def_raw_print || WINDOWPORT(safestartup))
|
||||
if (windowprocs.win_raw_print == def_raw_print)
|
||||
nh_terminate(EXIT_SUCCESS);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user