summaryrefslogtreecommitdiff
path: root/pango/break.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-08-15 20:36:00 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-08-15 20:36:00 +0000
commit5ad6cd2803ba45fbdffe5226ace285ca4a696a60 (patch)
treece40d1baa45cd81d1cbc138a0f5093eeecb54da1 /pango/break.c
parent099d3b8efa4b04c8d578aa9e1de3e108ef4c77a9 (diff)
downloadpango-5ad6cd2803ba45fbdffe5226ace285ca4a696a60.tar.gz
Remove initliazer members for analysis, let compiler zero them all. Fixes
2006-08-15 Behdad Esfahbod <behdad@gnome.org> * pango/break.c (pango_get_log_attrs): Remove initliazer members for analysis, let compiler zero them all. Fixes compile break after adding the gravity member inside there.
Diffstat (limited to 'pango/break.c')
-rw-r--r--pango/break.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/break.c b/pango/break.c
index 2006074f..9e9b2b75 100644
--- a/pango/break.c
+++ b/pango/break.c
@@ -1627,7 +1627,7 @@ pango_get_log_attrs (const char *text,
int chars_in_range;
static guint engine_type_id = 0;
static guint render_type_id = 0;
- PangoAnalysis analysis = { NULL, NULL, NULL, 0, NULL, NULL };
+ PangoAnalysis analysis = {};
analysis.level = level;