Fix bug: in a PI such as <?test ?pi?>, we got into an incorrect state
on the second ?. This is now properly handled.
This commit is contained in:
parent
4eec490403
commit
dc6a4cf430
|
@ -314,9 +314,12 @@ doBuffer:
|
|||
callback->PI(buffer2, buffer);
|
||||
buffer.clear();
|
||||
state = StateNone;
|
||||
} else if(ch == '?') {
|
||||
buffer += L'?';
|
||||
} else {
|
||||
buffer += L'?';
|
||||
buffer += ch;
|
||||
state = StatePIData;
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue