mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 16:31:13 +00:00
Slight simplification.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36037 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
248bd19a72
commit
c2a9361960
@ -923,8 +923,8 @@ def revert_nomencl_cwidth(document):
|
||||
|
||||
def revert_applemac(document):
|
||||
" Revert applemac encoding to auto "
|
||||
i = 0
|
||||
if document.encoding == "applemac":
|
||||
if document.encoding != "applemac":
|
||||
return
|
||||
document.encoding = "auto"
|
||||
i = find_token(document.header, "\\encoding", 0)
|
||||
if i != -1:
|
||||
|
Loading…
Reference in New Issue
Block a user