The branch, master, has been updated.

- Log -----------------------------------------------------------------

commit 2c9310d9355fe2d7674a808054e6a4c73ffc591e
Author: Uwe Stöhr <uwesto...@lyx.org>
Date:   Wed Jun 27 23:58:16 2012 +0200

    tex2lyx: fix a typo
    
    tex2lyx/text.cpp: the encoding must be _set_ here

diff --git a/src/tex2lyx/text.cpp b/src/tex2lyx/text.cpp
index f46789c..3101a75 100644
--- a/src/tex2lyx/text.cpp
+++ b/src/tex2lyx/text.cpp
@@ -1500,7 +1500,7 @@ void parse_environment(Parser & p, ostream & os, bool 
outer,
                        parent_context.font.language = lang_old;
                        parent_context.new_paragraph(os);
                }
-               p.getEncoding() = encoding_old;
+               p.setEncoding(encoding_old);
                p.skip_spaces();
        }
 

-----------------------------------------------------------------------

Summary of changes:
 src/tex2lyx/text.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository

Reply via email to