Ensure no trailing '/'

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25453 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2008-07-05 09:09:50 +00:00
parent 2c5d1e9ebe
commit cfe615d063

View 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), "/");
}
}