diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2009-01-08 07:00:52 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2009-01-08 07:00:52 +0000 |
commit | 6fee629b38f9cfd9b9847a254fb8718c5a981f2a (patch) | |
tree | 165d714ca460a292e7a8001dc7cc5b34c2bbd82b /pango | |
parent | cd25590f1d5172ae5b06f9e65cf329c0f873efd2 (diff) | |
download | pango-6fee629b38f9cfd9b9847a254fb8718c5a981f2a.tar.gz |
Improve warning message.
2009-01-08 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-context.c (itemize_state_process_run):
Improve warning message.
svn path=/trunk/; revision=2796
Diffstat (limited to 'pango')
-rw-r--r-- | pango/pango-context.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/pango/pango-context.c b/pango/pango-context.c index 95916ebe..208952d3 100644 --- a/pango/pango-context.c +++ b/pango/pango-context.c @@ -1384,16 +1384,7 @@ itemize_state_process_run (ItemizeState *state) if (!g_object_get_data (G_OBJECT (fontmap), script_name)) { - const char *what; - if (shape_engine == NULL) - what = "shape engine"; - else if (font == NULL) - what = "font"; - else - what = "nothing (oops!)"; - - g_warning ("failed to find %s, expect ugly output. engine-type='%s', script='%s'", - what, + g_warning ("failed to choose a font, expect ugly output. engine-type='%s', script='%s'", pango_font_map_get_shape_engine_type (fontmap), script_name); |