]> git.lyx.org Git - features.git/commitdiff
tex2lyx/text.cpp: fix typos
authorUwe Stöhr <uwestoehr@lyx.org>
Sat, 7 Jul 2012 11:40:07 +0000 (13:40 +0200)
committerUwe Stöhr <uwestoehr@lyx.org>
Sat, 7 Jul 2012 11:40:07 +0000 (13:40 +0200)
src/tex2lyx/text.cpp

index 62d5e8df9ebfaf80c6d3458a94bf37d5ffdba6af..b3604b77f5146fa19d9e078247d6ae434e2df606 100644 (file)
@@ -119,7 +119,7 @@ char const * const known_coded_ref_commands[] = { "ref", "pageref", "vref",
 
 /**
  * supported CJK encodings
- * SJIS anf Bg5 cannot be supported as this is not
+ * SJIS and Bg5 cannot be supported as they are not
  * supported by iconv
  * JIS does not work with LyX's encoding conversion
  */
@@ -1431,7 +1431,7 @@ void parse_environment(Parser & p, ostream & os, bool outer,
                // store the encoding to be able to reset it
                string const encoding_old = p.getEncoding();
                string const encoding = p.getArg('{', '}');
-               // SJIS and Bg5 cammopt be handled by iconv
+               // SJIS and Bg5 cannot be handled by iconv
                // JIS does not work with LyX's encoding conversion
                if (encoding != "Bg5" && encoding != "JIS" && encoding != "SJIS")
                        p.setEncoding(encoding);