all repos — openbox @ c495ecfefff3b07810cb2abed69ceed7a1350b37

openbox fork - make it a bit more like ryudo

why did i save that return value?
Mikael Magnusson mikachu@comhem.se
commit

c495ecfefff3b07810cb2abed69ceed7a1350b37

parent

9fb488c7bf4e708f97763acc993c127983453e28

1 files changed, 1 insertions(+), 2 deletions(-)

jump to
M render/font.crender/font.c

@@ -134,7 +134,6 @@ tmp_int*PANGO_SCALE);

} /* based on gtkmain.c gtk_get_default_language() */ - PangoLanguage *ln; gchar *locale, *p; locale = g_strdup(setlocale(LC_CTYPE, NULL)); if ((p = strchr(locale, '.')))

@@ -143,7 +142,7 @@ if ((p = strchr(locale, '@')))

*p = '\0'; PangoFontMetrics *metrics = pango_context_get_metrics(context, out->pango_font_description, - ln = pango_language_from_string(locale)); + pango_language_from_string(locale)); out->pango_ascent = pango_font_metrics_get_ascent(metrics); out->pango_descent = pango_font_metrics_get_descent(metrics); g_free(locale);