mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-04-22 16:20:47 +02:00
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>
This commit is contained in:
parent
8a4299bf7e
commit
df1dd83880
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue