PIString and PIChar fixes 3
This commit is contained in:
@@ -292,7 +292,7 @@ void PIString::appendFromChars(const char * c, int s, const char * codepage) {
|
||||
sz = mbtowc(&wc, c, s);
|
||||
//qDebug() << "1" << sz;
|
||||
if (sz < 1) break;
|
||||
push_back(PIChar(int(wc)));
|
||||
push_back(PIChar(wc));
|
||||
c += sz; s -= sz;
|
||||
//qDebug() << "2" << c;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user