pinosaur
/
smdp.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cb7126
)
Use the same coding style as other `i++`.
author
FreeBirdLjj
<ljj11011@mail.ustc.edu.cn>
Wed, 24 Sep 2014 17:04:01 +0000
(
01:04
+0800)
committer
FreeBirdLjj
<ljj11011@mail.ustc.edu.cn>
Wed, 24 Sep 2014 17:04:01 +0000
(
01:04
+0800)
src/parser.c
patch
|
blob
|
history
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]))
-
++i
;
+
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;
}