]> git.lyx.org Git - features.git/commit
Fix bug #9622
authorEnrico Forestieri <forenr@lyx.org>
Fri, 14 Dec 2018 10:41:16 +0000 (11:41 +0100)
committerEnrico Forestieri <forenr@lyx.org>
Fri, 14 Dec 2018 10:41:16 +0000 (11:41 +0100)
commit4c9df62c6cb8168d8d129f2c5f6a16ba7e895f63
tree293d60456f6c8778774da7631de2bfb082ed4044
parent95bc273a597401f3ca9a43ed5d2d5db5626ae819
Fix bug #9622

The backslash is the escape character used in our parser. Hence,
when used as a path separator on Windows, it has to be itself
escaped or the path enclosed in either double or single quotes.
Windows users are maybe trained to quote paths containing spaces
but not paths with backslashes. So, we automatically escape the
backslashes when they are not already enclosed in quotes.
src/Format.cpp