QTF fix..

git-svn-id: svn://ultimatepp.org/upp/trunk@494 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2008-10-01 12:17:00 +00:00
parent 6832764d91
commit 1d3c373bf8

View file

@ -809,6 +809,7 @@ void RichQtfParser::Parse(const char *qtf, byte _accesskey)
Cat(c);
if(*term == ';')
term++;
SetFormat();
}
else
if(Key2('{', ':')) {
@ -821,8 +822,10 @@ void RichQtfParser::Parse(const char *qtf, byte _accesskey)
Key('}');
}
else
if(Key('&'))
if(Key('&')) {
SetFormat();
EndPart();
}
else
if(Key2('$')) {
Flush();
@ -866,12 +869,15 @@ void RichQtfParser::Parse(const char *qtf, byte _accesskey)
}
else
if(*term == '_') {
SetFormat();
text.Cat(160);
term++;
}
else
if(Key2('-', '|'))
if(Key2('-', '|')) {
SetFormat();
text.Cat(9);
}
else
if(*term == '\1') {
if(istable)