aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/stylesheet.c2
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));