summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/spellcheck.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/dialog/spellcheck.cpp')
-rw-r--r--src/ui/dialog/spellcheck.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/dialog/spellcheck.cpp b/src/ui/dialog/spellcheck.cpp
index 972f2d1f9..267b52423 100644
--- a/src/ui/dialog/spellcheck.cpp
+++ b/src/ui/dialog/spellcheck.cpp
@@ -39,7 +39,7 @@
#include <glibmm/i18n.h>
-#ifdef WIN32
+#ifdef _WIN32
#include <windows.h>
#endif
@@ -312,7 +312,7 @@ SpellCheck::init(SPDesktop *d)
gtk_widget_set_sensitive(dictionary_combo, false);
start_button.set_sensitive(false);
-#ifdef WIN32
+#ifdef _WIN32
// on windows, dictionaries are in a lib/aspell-0.60 subdir off inkscape's executable dir;
// this is some black magick to find out the executable path to give it to aspell
char exeName[MAX_PATH+1];
@@ -330,7 +330,7 @@ SpellCheck::init(SPDesktop *d)
#ifdef HAVE_ASPELL
{
AspellConfig *config = new_aspell_config();
-#ifdef WIN32
+#ifdef _WIN32
aspell_config_replace(config, "prefix", exeName);
#endif
aspell_config_replace(config, "lang", _lang.c_str());
@@ -347,7 +347,7 @@ SpellCheck::init(SPDesktop *d)
if (_lang2 != "") {
AspellConfig *config = new_aspell_config();
-#ifdef WIN32
+#ifdef _WIN32
aspell_config_replace(config, "prefix", exeName);
#endif
aspell_config_replace(config, "lang", _lang2.c_str());
@@ -364,7 +364,7 @@ SpellCheck::init(SPDesktop *d)
if (_lang3 != "") {
AspellConfig *config = new_aspell_config();
-#ifdef WIN32
+#ifdef _WIN32
aspell_config_replace(config, "prefix", exeName);
#endif
aspell_config_replace(config, "lang", _lang3.c_str());