diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-03-18 13:22:24 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-03-18 13:23:26 +0000 |
commit | df1dd838809ed64b06595541d237e0f6bb6d23cb (patch) | |
tree | 19fc3cf6a1be4f618eb82444157171984f214aeb /util | |
parent | 8a4299bf7ee3173cf956ef481bf08e5f99808272 (diff) |
trace: Fix hint_style/hint_metrics typo
Compiler warning saves the day!
trace.c: In function ‘_emit_font_options’:
trace.c:2973:20: warning: comparison between ‘cairo_hint_style_t’ and
‘enum _cairo_hint_metrics’
A genuine bug, thanks gcc!
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'util')
-rw-r--r-- | util/cairo-trace/trace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cairo-trace/trace.c b/util/cairo-trace/trace.c index b9305060..ff2bc81d 100644 --- a/util/cairo-trace/trace.c +++ b/util/cairo-trace/trace.c @@ -2970,7 +2970,7 @@ _emit_font_options (const cairo_font_options_t *options) } hint_metrics = DLCALL (cairo_font_options_get_hint_metrics, options); - if (hint_style != CAIRO_HINT_METRICS_DEFAULT) { + if (hint_metrics != CAIRO_HINT_METRICS_DEFAULT) { _trace_printf (" /hint-metrics //%s", _hint_metrics_to_string (hint_metrics)); } |