]> git.jsancho.org Git - lugaru.git/blobdiff - Source/OpenGL_Windows.cpp
Oops, Initial forward slash needs to be removed in POSIX file paths
[lugaru.git] / Source / OpenGL_Windows.cpp
index 3a508adf06f02f099e76279e19f3f0705f32587b..96e6a8811a29b7cc5c9bb16612595f62213a969e 100644 (file)
@@ -568,7 +568,7 @@ Boolean SetUp (Game & game)
        randSeed = UpTime().lo;
 
        osx = 0;
-       ifstream ipstream(ConvertFileName("/Data/config.txt"), std::ios::in /*| std::ios::nocreate*/);
+       ifstream ipstream(ConvertFileName("Data/config.txt"), std::ios::in /*| std::ios::nocreate*/);
        detail=1;
        ismotionblur=0;
        usermousesensitivity=1;
@@ -618,7 +618,7 @@ Boolean SetUp (Game & game)
        selectDetail(kContextWidth, kContextHeight, kBitsPerPixel, detail);
 
        if(!ipstream) {
-               ofstream opstream(ConvertFileName("/Data/config.txt", "w"));
+               ofstream opstream(ConvertFileName("Data/config.txt", "w"));
                opstream << "Screenwidth:\n";
                opstream << kContextWidth;
                opstream << "\nScreenheight:\n";