summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2000-07-31 18:57:56 +0000
committerOwen Taylor <otaylor@src.gnome.org>2000-07-31 18:57:56 +0000
commit5b08312353b05feebfaa7f8557bec3fdb3a9f6cd (patch)
treec6bf90470036cbabfd95c86e749b1519289704cf /pango
parent990ed879243b190ee1926188fef04ce1fb04a619 (diff)
downloadpango-5b08312353b05feebfaa7f8557bec3fdb3a9f6cd.tar.gz
Remove hardcoded path to my home directory! Allow specifying the file on
Sat Jul 29 21:26:30 2000 Owen Taylor <otaylor@redhat.com> * examples/viewer-qt.[ch] (ViewerWindow): Remove hardcoded path to my home directory! Allow specifying the file on the command line. * pango/modules.c (process_module_file): Fix bug in parsing of range strings.
Diffstat (limited to 'pango')
-rw-r--r--pango/modules.c2
-rw-r--r--pango/pangox.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/pango/modules.c b/pango/modules.c
index c31e4d3c..d7d3b838 100644
--- a/pango/modules.c
+++ b/pango/modules.c
@@ -261,7 +261,7 @@ process_module_file (FILE *module_file)
q++;
range->start = start;
range->end = end;
- range->langs = g_strdup (tmp_buf->str);
+ range->langs = g_strdup (q);
ranges = g_list_prepend (ranges, range);
}
diff --git a/pango/pangox.c b/pango/pangox.c
index 7aa3b638..d6467968 100644
--- a/pango/pangox.c
+++ b/pango/pangox.c
@@ -20,6 +20,7 @@
*/
#include <string.h>
+#include <stdlib.h>
#include <math.h>
#include <X11/Xlib.h>