mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-26 01:49:22 +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:
|
if len(rcs) == 1:
|
||||||
m = r.match(rcs[0])
|
m = r.match(rcs[0])
|
||||||
if m:
|
if m:
|
||||||
alt = r'\editor_alternatives ' + m.group(1) + " %%"
|
alt = r'\editor_alternatives ' + m.group(1) + ' "%%"'
|
||||||
elif len(rcs) > 1:
|
elif len(rcs) > 1:
|
||||||
m = r.match(rcs[idxx])
|
m = r.match(rcs[idxx])
|
||||||
if m:
|
if m:
|
||||||
if idxx > 0:
|
if idxx > 0:
|
||||||
alt += '\n'
|
alt += '\n'
|
||||||
alt += r'\editor_alternatives ' + m.group(1) + " %%"
|
alt += r'\editor_alternatives ' + m.group(1) + ' "%%"'
|
||||||
return alt
|
return alt
|
||||||
|
|
||||||
|
|
||||||
|
@ -226,3 +226,6 @@ What's new
|
|||||||
|
|
||||||
- Avoid annoying warnings with newer gcc versions.
|
- Avoid annoying warnings with newer gcc versions.
|
||||||
|
|
||||||
|
- Properly quote arguments in configuration (bug 8648).
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user