summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--getgbook.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/getgbook.c b/getgbook.c
index 29f7a19..d685279 100644
--- a/getgbook.c
+++ b/getgbook.c
@@ -48,9 +48,8 @@ int getpagelist(char *bookid, Page **pages)
for(;*s; s++) {
if(*s == '}')
break;
- if(!strncmp(s, "\"order\"", 7)) {
+ if(!strncmp(s, "\"order\"", 7))
sscanf(s+8, "%d,", &(p->num));
- }
}
p=pages[++i];
}