fixed moveBackToLineStart() method on ZString.

This commit is contained in:
Brad Arant committed 2024-11-26 10:37:39 -08:00
1 parent 2de5693e87
commit 76ba5414cd
1 file changed
+3 -1
+3 -1
View File
@@ -586,8 +586,10 @@ namespace coreutils {
void ZString::moveBackToLineStart() { void ZString::moveBackToLineStart() {
while(cursor != data) { while(cursor != data) {
if(*cursor == '\n') if(*cursor == '\n') {
cursor++;
break; break;
}
cursor--; cursor--;
} }
return; return;