summaryrefslogtreecommitdiff
path: root/pango/break.c
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2000-07-19 16:36:30 +0000
committerTor Lillqvist <tml@src.gnome.org>2000-07-19 16:36:30 +0000
commitdb5e31a4949f00231978cdd721d5014c585cccf4 (patch)
treec3dae830edc7179b46b9b256dd102ec21b065555 /pango/break.c
parentc85f6672f3329705ed186d8eb50f71528e1d087d (diff)
downloadpango-db5e31a4949f00231978cdd721d5014c585cccf4.tar.gz
Don't try to use the ! command, not available in all systems. Move the !
2000-07-19 Tor Lillqvist <tml@iki.fi> * configure.in: Don't try to use the ! command, not available in all systems. Move the ! inside the test instead. * pango-config.in: Change order of --cflags output, so that we can build with both GLib 1.2 and 1.3 installed. * modules/devanagari/dev-ligatures.h: No C++ comments, thanks. * pango/break.c: Fix gccism, non-constant initailiser. * pango/pango-fontmap.c: Don't return value from void functions. * pango/pango-utils.c: Must have at least empty statement after a label.
Diffstat (limited to 'pango/break.c')
-rw-r--r--pango/break.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pango/break.c b/pango/break.c
index 0f9d3dfe..3dc0465b 100644
--- a/pango/break.c
+++ b/pango/break.c
@@ -86,7 +86,9 @@ 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, (guint8)level };
+ PangoAnalysis analysis = { NULL, NULL, NULL, 0 };
+
+ analysis.level = level;
g_return_if_fail (length == 0 || text != NULL);
g_return_if_fail (log_attrs != NULL);