fixed moveBackToLineStart() method on ZString.

This commit is contained in:
Brad Arant 2024-11-26 10:37:39 -08:00
parent 2de5693e87
commit 76ba5414cd

View File

@ -586,8 +586,10 @@ namespace coreutils {
void ZString::moveBackToLineStart() {
while(cursor != data) {
if(*cursor == '\n')
break;
if(*cursor == '\n') {
cursor++;
break;
}
cursor--;
}
return;