summaryrefslogtreecommitdiff
path: root/pango/break.c
diff options
context:
space:
mode:
authorHans Breuer <hans@breuer.org>2006-08-17 05:33:34 +0000
committerHans Breuer <hans@src.gnome.org>2006-08-17 05:33:34 +0000
commit120660ea397549f453772e755db9d3e987802aa2 (patch)
treef5a5bcaf5624c11f7b5fcc0c405169836da3026a /pango/break.c
parentbaf4dc5ab63687c246bfe6fd4b9c72fd3f3a1ccc (diff)
downloadpango-120660ea397549f453772e755db9d3e987802aa2.tar.gz
updated error C2059: syntax error : '}' Intializing a struct with empty
2006-08-17 Hans Breuer <hans@breuer.org> * pango/makefile.msc pango/pango.def : updated * pango/break.c(1630) : error C2059: syntax error : '}' Intializing a struct with empty braces is not supported with MSVC, instead use 0. * pango/pangocairo.def : removed pango_fc_font_(map_)get_type pangocairo has either win32 fonts or freetype. The former is more usual. * pango/pango-utils.c : replaced M_PI by G_PI (from glib/gtypes.h).
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 9e9b2b75..b8a47ccd 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 = {};
+ PangoAnalysis analysis = { 0 };
analysis.level = level;