diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-12-23 21:00:53 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-12-23 21:00:53 +0000 |
commit | a35e29588080ef902640aad9db26d9da436f771d (patch) | |
tree | a2d0fce3c68f10a88544eff7e448064c280b8ffe /gtk/gen-paper-names.c | |
parent | cd1c63583c98de32baf633730e6eb7022fd4b495 (diff) | |
download | gtk+-a35e29588080ef902640aad9db26d9da436f771d.tar.gz |
Fix a thinko in the suffix calculation. (#382369, Christian Persch)
2006-12-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gen-paper-names.c: Fix a thinko in the suffix
calculation. (#382369, Christian Persch)
* gtk/paper_names_offsets.c: Regenerated.
Diffstat (limited to 'gtk/gen-paper-names.c')
-rw-r--r-- | gtk/gen-paper-names.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/gen-paper-names.c b/gtk/gen-paper-names.c index d71d805c36..1bd47fe77f 100644 --- a/gtk/gen-paper-names.c +++ b/gtk/gen-paper-names.c @@ -169,7 +169,10 @@ main (int argc, char *argv[]) { if (names[i].suffix != -1) { - j = names[i].suffix; + j = i; + do { + j = names[j].suffix; + } while (names[j].suffix != -1); names[i].offset = names[j].offset + names[j].len - names[i].len; } } |