diff options
author | Owen Taylor <otaylor@redhat.com> | 2000-10-30 16:21:41 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2000-10-30 16:21:41 +0000 |
commit | 717a0b958c4616753798250985558cab328a6837 (patch) | |
tree | fefaf97d67bc6182dd5c0c7ede8df56cdf4a8b98 /pango/pango-utils.c | |
parent | 09fb943676e06e3ba5fd4d8352a51719006d12b5 (diff) | |
download | pango-717a0b958c4616753798250985558cab328a6837.tar.gz |
Added docs for the publically exported functions in this module, even
Tue Sep 12 10:21:08 2000 Owen Taylor <otaylor@redhat.com>
* pango/modules.c (pango_map_get_entry): Added docs
for the publically exported functions in this module,
even though they are really only semi-public
(for people implementing new types of #PangoFont),
not public
* pango/pango-utils.c (pango_read_line): Minor bug
tweak.
Diffstat (limited to 'pango/pango-utils.c')
-rw-r--r-- | pango/pango-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-utils.c b/pango/pango-utils.c index 807adac8..e6d979c2 100644 --- a/pango/pango-utils.c +++ b/pango/pango-utils.c @@ -181,7 +181,7 @@ pango_read_line (FILE *stream, GString *str) { int next_c = getc_unlocked (stream); - if (!(c == EOF || + if (!(next_c == EOF || (c == '\r' && next_c == '\n') || (c == '\n' && next_c == '\r'))) ungetc (next_c, stream); |