diff options
author | Nick White <git@njw.me.uk> | 2011-08-19 00:50:30 +0100 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2011-08-19 00:50:30 +0100 |
commit | 12c8ed14117a68358f4b680c1fe1f08d61970fec (patch) | |
tree | abb17e6175297f9295bf4542edb1b5dd80fc361e /getgbook.c | |
parent | 496e3d7171044a381b91a9a077e7ecc53cd19f97 (diff) |
Simplify a teeny bit
Diffstat (limited to 'getgbook.c')
-rw-r--r-- | getgbook.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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]; } |