diff options
author | Thomas White <taw@bitwiz.org.uk> | 2013-05-24 09:14:48 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2013-05-24 09:14:48 +0200 |
commit | 25568bffc829c7e373a9049c713464df456ff6aa (patch) | |
tree | 473bd3c03a5dd547170dd4b07492b230441741bb | |
parent | 6647f70cb376a0b123f5c4665985b8c343f3e3c0 (diff) |
Fix index
-rw-r--r-- | src/stylesheet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stylesheet.c b/src/stylesheet.c index b6fec5c..3e30ea3 100644 --- a/src/stylesheet.c +++ b/src/stylesheet.c @@ -318,7 +318,7 @@ void write_stylesheet(StyleSheet *ss, struct serializer *ser) struct style *s = t->styles[j]; char id[32]; - snprintf(id, 31, "sty%i", i); + snprintf(id, 31, "sty%i", j); serialize_i(ser, id, style_number(ss, s)); |