Fixed mixup between Win32's "supertux2" and Linux/MacOSX ".supertux2" directory name
authorIngo Ruhnke <grumbel@gmail.com>
Tue, 19 Aug 2014 00:16:52 +0000 (02:16 +0200)
committerIngo Ruhnke <grumbel@gmail.com>
Tue, 19 Aug 2014 00:17:20 +0000 (02:17 +0200)
src/supertux/main.cpp

index 5f14737..5d3747d 100644 (file)
@@ -191,9 +191,9 @@ public:
     {
       std::string physfs_userdir = PHYSFS_getUserDir();
 #ifdef _WIN32
-      userdir = FileSystem::join(physfs_userdir, "." PACKAGE_NAME);
-#else
       userdir = FileSystem::join(physfs_userdir, PACKAGE_NAME);
+#else
+      userdir = FileSystem::join(physfs_userdir, "." PACKAGE_NAME);
 #endif
     }