wrong resolution

This commit is contained in:
Simon Gomizelj 2012-09-28 18:47:43 -04:00 committed by Daniel Micay
parent a1fbff67cd
commit 58ab9cad0f
1 changed files with 6 additions and 6 deletions

View File

@ -1028,17 +1028,17 @@ static void load_config(GtkWindow *window, VteTerminal *vte, config_info *info,
}
if (get_config_color(config, "hint_foreground", &color)) {
hints.fg = cairo_pattern_create_rgb(color.red / 255.0f,
color.green / 255.0f,
color.blue / 255.0f);
hints.fg = cairo_pattern_create_rgb(color.red / 65535.0,
color.green / 65535.0,
color.blue / 65535.0);
} else {
hints.fg = cairo_pattern_create_rgb(1, 1, 1);
}
if (get_config_color(config, "hint_background", &color)) {
hints.bg = cairo_pattern_create_rgb(color.red / 255.0f,
color.green / 255.0f,
color.blue / 255.0f);
hints.bg = cairo_pattern_create_rgb(color.red / 65535.0,
color.green / 65535.0,
color.blue / 65535.0);
} else {
hints.bg = cairo_pattern_create_rgb(0, 0, 0);
}