summaryrefslogtreecommitdiff
path: root/pango/querymodules.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-05-13 19:09:00 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-05-13 19:09:00 +0000
commited9328eca55e4371e04305bd82706910afa4fa68 (patch)
treeae40b49be1a40aa31ec96f82704c1eb7a5ec38fe /pango/querymodules.c
parent50af30b173bd40fcae4a7efa85424e367b421fc6 (diff)
downloadpango-ed9328eca55e4371e04305bd82706910afa4fa68.tar.gz
Add a implementation of strtok_r (copied from glibc) for machines that
Mon May 13 14:58:12 2002 Owen Taylor <otaylor@redhat.com> * pango/pangox.c configure.in: Add a implementation of strtok_r (copied from glibc) for machines that don't have it. (#79472, Jacob Berkman.) * pango/querymodules.c: Use printf() rather than g_print, since we don't want encoding conversion. (#77341)
Diffstat (limited to 'pango/querymodules.c')
-rw-r--r--pango/querymodules.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/pango/querymodules.c b/pango/querymodules.c
index 4ffd383e..5ae7789a 100644
--- a/pango/querymodules.c
+++ b/pango/querymodules.c
@@ -89,27 +89,27 @@ query_module (const char *dir, const char *name)
quoted_path = g_strdup (path);
}
- g_print ("%s%s%s %s %s %s ", quote, quoted_path, quote,
- engines[i].id, engines[i].engine_type, engines[i].render_type);
+ printf ("%s%s%s %s %s %s ", quote, quoted_path, quote,
+ engines[i].id, engines[i].engine_type, engines[i].render_type);
g_free (quoted_path);
for (j=0; j < engines[i].n_ranges; j++)
{
if (j != 0)
- g_print (" ");
- g_print ("%d-%d:%s",
- engines[i].ranges[j].start,
- engines[i].ranges[j].end,
- engines[i].ranges[j].langs);
+ printf (" ");
+ printf ("%d-%d:%s",
+ engines[i].ranges[j].start,
+ engines[i].ranges[j].end,
+ engines[i].ranges[j].langs);
}
- g_print ("\n");
- }
+ printf ("\n");
+ }
}
else
{
fprintf (stderr, "%s does not export Pango module API\n", path);
}
-
+
g_free (path);
if (module)
g_module_close (module);