mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-12 22:14:35 +00:00
Properly quote command line arguments. Patch from JMarc. Fixes
bug #8648.
This commit is contained in:
parent
f7e0d2e566
commit
8d6573d130
@ -330,13 +330,13 @@ def addEditorAlternatives(rcs):
|
||||
if len(rcs) == 1:
|
||||
m = r.match(rcs[0])
|
||||
if m:
|
||||
alt = r'\editor_alternatives ' + m.group(1) + " %%"
|
||||
alt = r'\editor_alternatives ' + m.group(1) + ' "%%"'
|
||||
elif len(rcs) > 1:
|
||||
m = r.match(rcs[idxx])
|
||||
if m:
|
||||
if idxx > 0:
|
||||
alt += '\n'
|
||||
alt += r'\editor_alternatives ' + m.group(1) + " %%"
|
||||
alt += r'\editor_alternatives ' + m.group(1) + ' "%%"'
|
||||
return alt
|
||||
|
||||
|
||||
|
@ -226,3 +226,6 @@ What's new
|
||||
|
||||
- Avoid annoying warnings with newer gcc versions.
|
||||
|
||||
- Properly quote arguments in configuration (bug 8648).
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user