pinosaur
/
smdp.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use the same coding style as other `i++`.
[smdp.git]
/
src
/
parser.c
diff --git
a/src/parser.c
b/src/parser.c
index
0852e80
..
6f5c4c8
100644
(file)
--- a/
src/parser.c
+++ b/
src/parser.c
@@
-392,14
+392,14
@@
int length_utf8(char ch) {
int next_nonblank(cstring_t *text, int i) {
while ((i < text->size) && isspace((unsigned char) (text->text)[i]))
int next_nonblank(cstring_t *text, int i) {
while ((i < text->size) && isspace((unsigned char) (text->text)[i]))
-
++i
;
+
i++
;
return i;
}
int next_blank(cstring_t *text, int i) {
while ((i < text->size) && !isspace((unsigned char) (text->text)[i]))
return i;
}
int next_blank(cstring_t *text, int i) {
while ((i < text->size) && !isspace((unsigned char) (text->text)[i]))
-
++i
;
+
i++
;
return i;
}
return i;
}