projects
/
platform
/
upstream
/
pango.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e34871
)
Bug 588060 -- Fonts missing on Cygwin
author
Tor Lillqvist
<tml@iki.fi>
Tue, 21 Jul 2009 07:10:27 +0000
(10:10 +0300)
committer
Tor Lillqvist
<tml@iki.fi>
Tue, 21 Jul 2009 07:10:27 +0000
(10:10 +0300)
Use HAVE_CAIRO_WIN32 instead of G_OS_WIN32 to decide whether to
use the built-in aliases code.
pango/pango-utils.c
patch
|
blob
|
history
diff --git
a/pango/pango-utils.c
b/pango/pango-utils.c
index
9801a30
..
100dbc7
100644
(file)
--- a/
pango/pango-utils.c
+++ b/
pango/pango-utils.c
@@
-967,7
+967,7
@@
handle_alias_line (GString *line_buffer,
g_string_free (tmp_buffer2, TRUE);
}
-#ifdef
G_OS
_WIN32
+#ifdef
HAVE_CAIRO
_WIN32
static const char *builtin_aliases[] = {
"courier = \"courier new\"",
@@
-1061,7
+1061,7
@@
pango_load_aliases (void)
(GDestroyNotify)alias_free,
NULL);
-#ifdef
G_OS
_WIN32
+#ifdef
HAVE_CAIRO
_WIN32
read_builtin_aliases ();
#endif