[pango] Another attempt
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango] Another attempt
- Date: Fri, 2 Aug 2019 12:56:09 +0000 (UTC)
commit 6f4a159fb6edfc953d3f68baed5977bdc59afee5
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Aug 2 08:55:49 2019 -0400
Another attempt
examples/pangowin32tobmp.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/examples/pangowin32tobmp.c b/examples/pangowin32tobmp.c
index bde21c65..6f93468b 100644
--- a/examples/pangowin32tobmp.c
+++ b/examples/pangowin32tobmp.c
@@ -53,7 +53,9 @@ static int
compare_font_family (gconstpointer a,
gconstpointer b)
{
- return strcmp (pango_font_family_get_name ((PangoFontFamily *)*a), pango_font_family_get_name
((PangoFontFamily *)*b));
+ PangoFontFamily **aa = (PangoFontFamily **)a;
+ PangoFontFamily **bb = (PangoFontFamily **)b;
+ return strcmp (pango_font_family_get_name (*aa, *bb);
}
int main (int argc, char **argv)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]