[util] Fix uninitialized memory access

This commit is contained in:
Behdad Esfahbod 2013-12-02 05:42:04 -05:00
parent 260a3198f4
commit c704a8700e

View File

@ -36,7 +36,7 @@ struct view_cairo_t
view_cairo_t (option_parser_t *parser)
: output_options (parser, helper_cairo_supported_formats),
view_options (parser),
lines (0), scale (1.0) {}
lines (0), scale (1.0), direction (HB_DIRECTION_INVALID) {}
~view_cairo_t (void) {
if (debug)
cairo_debug_reset_static_data ();