summaryrefslogtreecommitdiff
path: root/util/view-cairo.hh
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2013-12-02 05:42:04 -0500
committerBehdad Esfahbod <behdad@behdad.org>2013-12-02 05:42:04 -0500
commitc704a8700e169885f1d9cbab93544d85aa4358e9 (patch)
tree0915dfd67a971c97ac2999065f27fecffd5ba039 /util/view-cairo.hh
parent260a3198f44a4ece60864b6f6caab2ee756ad762 (diff)
[util] Fix uninitialized memory access
Diffstat (limited to 'util/view-cairo.hh')
-rw-r--r--util/view-cairo.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/view-cairo.hh b/util/view-cairo.hh
index 2c504c1b..7fe217cf 100644
--- a/util/view-cairo.hh
+++ b/util/view-cairo.hh
@@ -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 ();