Assist C++11 issue #535

git-svn-id: svn://ultimatepp.org/upp/trunk@6593 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2013-11-21 07:16:46 +00:00
parent 0ac2ebf109
commit 28c32db988

View file

@ -114,7 +114,7 @@ String Purify(const char *s, const char *qname, const String& name) {
while(*s && (byte)*s <= ' ') s++;
while(*s) {
const char *w = bew(qname, s);
if(w) {
if(w && w > s) {
res.Cat(name);
s = w;
}