summaryrefslogtreecommitdiff
path: root/textscreen
diff options
context:
space:
mode:
authorSimon Howard2013-10-20 20:28:47 +0000
committerSimon Howard2013-10-20 20:28:47 +0000
commitc5defc73afb3cef52ab260c7f3e36ee3ac0d14e1 (patch)
treeb6414015803f8d247145fac2f23655bbda6312d6 /textscreen
parentda29767a3596964ca3c93e8579732659dd403aa1 (diff)
downloadchocolate-doom-c5defc73afb3cef52ab260c7f3e36ee3ac0d14e1.tar.gz
chocolate-doom-c5defc73afb3cef52ab260c7f3e36ee3ac0d14e1.tar.bz2
chocolate-doom-c5defc73afb3cef52ab260c7f3e36ee3ac0d14e1.zip
Disable file selector dialog on Windows.
Subversion-branch: /branches/v2-branch Subversion-revision: 2716
Diffstat (limited to 'textscreen')
-rw-r--r--textscreen/txt_fileselect.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/textscreen/txt_fileselect.c b/textscreen/txt_fileselect.c
index 52b0dc1c..c6d6d246 100644
--- a/textscreen/txt_fileselect.c
+++ b/textscreen/txt_fileselect.c
@@ -142,7 +142,15 @@ static char *ExecReadOutput(char **argv)
#endif
-#if defined(_WIN32)
+// This is currently disabled on Windows because it doesn't work.
+// Current issues:
+// * On Windows Vista+ the mouse cursor freezes when the dialog is
+// opened. This is probably some conflict with SDL (might be
+// resolved by opening the dialog in a separate thread so that
+// TXT_UpdateScreen can be run in the background).
+// * On Windows XP the program exits/crashes when the dialog is
+// closed.
+#if defined(xxxdisabled_WIN32)
// Windows code. Use comdlg32 to pop up a dialog box.