mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
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:
parent
2c5d1e9ebe
commit
cfe615d063
@ -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), "/");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user