summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2020-08-27 02:07:02 +0000
committerKhaled Hosny <khaledhosny@eglug.org>2020-08-27 02:07:02 +0000
commit677db04fae0af875685a71e0cedd408578071bef (patch)
tree4f8b19a0ed3cb153acc614cda5ac312ead4f1993 /pango
parent4be6f23e71690e210e5a8ad45f5a5cea3c04cb4f (diff)
parent89ae260fb07bbcb28230921e12859c495c6f7bc9 (diff)
downloadpango-677db04fae0af875685a71e0cedd408578071bef.tar.gz
Merge branch 'master.prec99' into 'master'
Some Visual Studio-related fixes (GIT master) See merge request GNOME/pango!231
Diffstat (limited to 'pango')
-rw-r--r--pango/pangowin32-fontmap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pango/pangowin32-fontmap.c b/pango/pangowin32-fontmap.c
index 8d7e0c06..6bc10a7a 100644
--- a/pango/pangowin32-fontmap.c
+++ b/pango/pangowin32-fontmap.c
@@ -1030,8 +1030,10 @@ pango_win32_font_map_load_font (PangoFontMap *fontmap,
for (i = 0; families[i] && !best_match; ++i)
{
+ PangoWin32Family *win32family;
PING (("name=%s", families[i]));
- PangoWin32Family *win32family = g_hash_table_lookup (win32fontmap->families, families[i]);
+
+ win32family = g_hash_table_lookup (win32fontmap->families, families[i]);
if (win32family)
{
PING (("got win32family"));