mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
.uppweb: cpp highlighting fix
git-svn-id: svn://ultimatepp.org/upp/trunk@15625 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
4a74b60dd4
commit
d76dddb60a
2 changed files with 4 additions and 1 deletions
|
|
@ -58,7 +58,10 @@ String CppAsQtf(const String& str)
|
|||
if(strchr("!+-*^/%~&|=[]:?<>.#", *s))
|
||||
qtf << "[@B `" << *s << "]";
|
||||
else
|
||||
if((byte)*s < 128)
|
||||
qtf << '`' << *s;
|
||||
else
|
||||
qtf << *s;
|
||||
}
|
||||
s++;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1142,7 +1142,7 @@ CONSOLE_APP_MAIN
|
|||
sid.Cat(*idStr);
|
||||
else {
|
||||
int id = ScanInt(sid);
|
||||
if (IsNull(id))
|
||||
if (IsNull(id))
|
||||
fullTitle << "/" << sid;
|
||||
else {
|
||||
if (id < 0 || id >= tt.GetCount()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue