mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Move cjk check out of the loop
According to the indentation this was probably a merge error, and the check is only needed once.
This commit is contained in:
parent
2e5ecd9dfb
commit
614862fccc
@ -2208,8 +2208,6 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
|
||||
bool const use_natbib = isProvided("natbib");
|
||||
bool const use_jurabib = isProvided("jurabib");
|
||||
string last_env;
|
||||
while (p.good()) {
|
||||
Token const & t = p.get_token();
|
||||
|
||||
// it is impossible to determine the correct encoding for non-CJK Japanese.
|
||||
// Therefore write a note at the beginning of the document
|
||||
@ -2233,6 +2231,8 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
|
||||
is_nonCJKJapanese = false;
|
||||
}
|
||||
|
||||
while (p.good()) {
|
||||
Token const & t = p.get_token();
|
||||
#ifdef FILEDEBUG
|
||||
debugToken(cerr, t, flags);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user