aboutsummaryrefslogtreecommitdiff
path: root/gui/state.c
diff options
context:
space:
mode:
Diffstat (limited to 'gui/state.c')
-rwxr-xr-xgui/state.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gui/state.c b/gui/state.c
index f078612..063b15f 100755
--- a/gui/state.c
+++ b/gui/state.c
@@ -73,7 +73,7 @@ void state_dosave(t_state *x)
t_symbol* dir;
char dirstr[255];
-#ifdef NT
+#ifdef _WIN32
dir = gensym("");
#else
dir = canvas_getdir(x->x_canvas);
@@ -81,7 +81,7 @@ void state_dosave(t_state *x)
strcpy(dirstr,dir->s_name);
-#ifndef NT
+#ifndef _WIN32
strcat(dirstr,"/");
#endif
@@ -176,7 +176,7 @@ void state_load(t_state *x)
t_symbol* dir;
char dirstr[255];
-#ifdef NT
+#ifdef _WIN32
dir = gensym("");
#else
dir = canvas_getdir(x->x_canvas);
@@ -184,7 +184,7 @@ void state_load(t_state *x)
strcpy(dirstr,dir->s_name);
-#ifndef NT
+#ifndef _WIN32
strcat(dirstr,"/");
#endif