renamed ifCRLF to trimCRLF to more accurately reflect the function.

This commit is contained in:
brad Arant committed 2024-11-24 11:07:53 -08:00
1 parent 8f5dd52c6a
commit d6d16a1b7f
3 files changed
+6 -4

No files matched your search

+1 -1
View File
@@ -537,7 +537,7 @@ namespace coreutils {
return *(cursor + index);
}
bool ZString::ifCRLF() {
bool ZString::trimCRLF() {
int len = length;
if (*(data + length - 1) == '\n')
--length;