]> granicus.if.org Git - nethack/commit
allow a deferred windowport init during options processing
authornhmall <nhmall@nethack.org>
Mon, 10 Dec 2018 05:44:18 +0000 (00:44 -0500)
committernhmall <nhmall@nethack.org>
Mon, 10 Dec 2018 05:44:18 +0000 (00:44 -0500)
commit56dc7e150c472af9ab7c616460205b60b3e74c5c
tree064df55c764203b5ab973edbe47315947488bbb4
parent04d3be930bd97fd590136c4e313be227ccc48f6e
allow a deferred windowport init during options processing

When options processing encountered OPTIONS=windowtype:X,
the code would immediately attempt to switch over to that
windowtype right in the midst of options processing.

This stores the chosen option into
chosen_window[WINTYPELEN]
thus allowing the startup code to choose it after
options processing has been completed.
include/flag.h
src/options.c
sys/winnt/windmain.c