summaryrefslogtreecommitdiff
path: root/test/editor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/editor.cxx')
-rw-r--r--test/editor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/editor.cxx b/test/editor.cxx
index 868d14c30..0978d36bd 100644
--- a/test/editor.cxx
+++ b/test/editor.cxx
@@ -676,7 +676,7 @@ void set_title(Fl_Window* w) {
else {
char *slash;
slash = strrchr(filename, '/');
-#ifdef WIN32
+#ifdef _WIN32
if (slash == NULL) slash = strrchr(filename, '\\');
#endif
if (slash != NULL) strcpy(title, slash + 1);