]> git.lyx.org Git - lyx.git/blobdiff - src/support/os_win32.cpp
Fix layout bug. Pasting text into a cell tried to set Standard layout, because
[lyx.git] / src / support / os_win32.cpp
index d47204170e79f403d370ec09013e2bbf137a02de..385ebc606af64c4f2629e0d7f9615a4438048a20 100644 (file)
@@ -155,7 +155,7 @@ void init(int /* argc */, char * argv[])
                                (LPBYTE) buf, &bufSize);
                RegCloseKey(regKey);
                if ((retVal == ERROR_SUCCESS) && (bufSize <= MAX_PATH))
-                       cygdrive = buf;
+                       cygdrive = rtrim(string(buf), "/");
        }
 }