[util] Fix uninitialized memory access

This commit is contained in:
Behdad Esfahbod 2013-12-02 05:42:04 -05:00
parent 260a3198f4
commit c704a8700e
1 changed files with 1 additions and 1 deletions

View File

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