Differences From Artifact [0bf5277eff]:
- File
src/OFINIFile.m
— part of check-in
[2a27cf3000]
at
2016-01-03 00:41:26
on branch trunk
— Update copyright
While at it, also update the mail address. (user: js, size: 4151) [annotate] [blame] [check-ins using]
To Artifact [53dbf23d52]:
- File src/OFINIFile.m — part of check-in [e0b9167693] at 2016-02-21 15:37:42 on branch trunk — Make use of C99-style for loops (user: js, size: 4155) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
33 34 35 36 37 38 39 | encoding: (of_string_encoding_t)encoding; @end static bool isWhitespaceLine(OFString *line) { const char *cString = [line UTF8String]; | | | | 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | encoding: (of_string_encoding_t)encoding; @end static bool isWhitespaceLine(OFString *line) { const char *cString = [line UTF8String]; size_t length = [line UTF8StringLength]; for (size_t i = 0; i < length; i++) { switch (cString[i]) { case ' ': case '\t': case '\n': case '\r': continue; default: |
︙ | ︙ |