diff options
author | dov-g <dov-g> | 2005-12-22 18:27:24 +0000 |
---|---|---|
committer | dov-g <dov-g> | 2005-12-22 18:27:24 +0000 |
commit | 1f6f93026483184fa03a03b3c79c13a00f1ee216 (patch) | |
tree | cec669079e5d4d3e4445192c01b1434e880ea49f /src | |
parent | 057412a910afa923ad1cfe8d910a4e6826258d5a (diff) | |
download | paps-1f6f93026483184fa03a03b3c79c13a00f1ee216.tar.gz paps-1f6f93026483184fa03a03b3c79c13a00f1ee216.tar.xz paps-1f6f93026483184fa03a03b3c79c13a00f1ee216.zip |
Fixed string overflow in hash string lookup.
Diffstat (limited to 'src')
-rw-r--r-- | src/libpaps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libpaps.c b/src/libpaps.c index fcb9705..01bd80e 100644 --- a/src/libpaps.c +++ b/src/libpaps.c @@ -419,10 +419,10 @@ void draw_bezier_outline(paps_private_t *paps, double pos_y ) { + static gchar glyph_hash_string[100]; double scale = 72.0 / PANGO_SCALE / PAPS_DPI; double epsilon = 1e-2; double glyph_width = glyph_info->geometry.width * scale; - gchar glyph_hash_string[20]; gchar *id; /* Output outline */ |