summaryrefslogtreecommitdiff
path: root/dlib
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2009-02-08 21:16:37 -0300
committerJorge Arellano Cid <jcid@dillo.org>2009-02-08 21:16:37 -0300
commit845493306279f446dbac9568a0a1e0f442e615dd (patch)
treedbf0a36e50a268b456760ce881a802d28979cc5f /dlib
parent283a7960e615b14c21b7ce757b0fcbe5c945bb95 (diff)
's/if(/if (/g' 's/for(/for (/g' 's/while(/while (/g', and indentation.
Diffstat (limited to 'dlib')
-rw-r--r--dlib/dlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dlib/dlib.c b/dlib/dlib.c
index 0f318134..023f869a 100644
--- a/dlib/dlib.c
+++ b/dlib/dlib.c
@@ -850,10 +850,10 @@ char *dGetline (FILE *stream)
dReturn_val_if_fail (stream, 0);
dstr = dStr_sized_new(64);
- while((ch = fgetc(stream)) != EOF) {
+ while ((ch = fgetc(stream)) != EOF) {
if (ch == '\\') {
/* continue with the next line */
- while((ch = fgetc(stream)) != EOF && ch != '\n');
+ while ((ch = fgetc(stream)) != EOF && ch != '\n') ;
continue;
}
dStr_append_c(dstr, ch);