renamed ifCRLF to trimCRLF to more accurately reflect the function.
This commit is contained in:
1 parent
8f5dd52c6a
commit
d6d16a1b7f
3 files changed
+6
-4
No files matched your search
+1
-1
@@ -537,7 +537,7 @@ namespace coreutils {
|
||||
return *(cursor + index);
|
||||
}
|
||||
|
||||
bool ZString::ifCRLF() {
|
||||
bool ZString::trimCRLF() {
|
||||
int len = length;
|
||||
if (*(data + length - 1) == '\n')
|
||||
--length;
|
||||
|
||||
Reference in new issue
Block a user