summaryrefslogtreecommitdiff
path: root/pango/pangowin32.c
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2002-01-01 23:54:42 +0000
committerTor Lillqvist <tml@src.gnome.org>2002-01-01 23:54:42 +0000
commitd8b05c154f40f332785239fb292ea09caa4dfb1b (patch)
tree346ae38a344aac33ac14d3a3f40fdb4d65c836e6 /pango/pangowin32.c
parent2210a8aa8286f7af2e1a17354e9b027a1f669867 (diff)
downloadpango-d8b05c154f40f332785239fb292ea09caa4dfb1b.tar.gz
Silence gcc -Wall, initialise a couple of variables.
2002-01-02 Tor Lillqvist <tml@iki.fi> * pango/pangowin32.c (pango_win32_render_layout_line): Silence gcc -Wall, initialise a couple of variables. * pango/pangowin32-fontmap.c: (pango_win32_insert_font): Store "courier new" also under the name "courier", as that is what gtk-demo (and presumably often other applications, too?) looks for.
Diffstat (limited to 'pango/pangowin32.c')
-rw-r--r--pango/pangowin32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pangowin32.c b/pango/pangowin32.c
index e444e179..2ed7d555 100644
--- a/pango/pangowin32.c
+++ b/pango/pangowin32.c
@@ -543,8 +543,8 @@ pango_win32_render_layout_line (HDC hdc,
while (tmp_list)
{
- HBRUSH oldfg;
- HBRUSH brush;
+ HBRUSH oldfg = NULL;
+ HBRUSH brush = NULL;
POINT points[2];
PangoUnderline uline = PANGO_UNDERLINE_NONE;
PangoLayoutRun *run = tmp_list->data;