summaryrefslogtreecommitdiff
path: root/font-viewer/font-thumbnailer.c
diff options
context:
space:
mode:
Diffstat (limited to 'font-viewer/font-thumbnailer.c')
-rw-r--r--font-viewer/font-thumbnailer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/font-viewer/font-thumbnailer.c b/font-viewer/font-thumbnailer.c
index 7323f313..4ce71f73 100644
--- a/font-viewer/font-thumbnailer.c
+++ b/font-viewer/font-thumbnailer.c
@@ -181,7 +181,7 @@ main (int argc,
cairo_t *cr;
cairo_text_extents_t text_extents;
cairo_font_face_t *font;
- gchar *str;
+ gchar *str = NULL;
gdouble scale, scale_x, scale_y;
const GOptionEntry options[] = {