[monkey-bubble: 19/753] Minor fix to gnome_chomp_string. - tromey cygnus com
- From: Sven Herzberg <herzi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [monkey-bubble: 19/753] Minor fix to gnome_chomp_string. - tromey cygnus com
- Date: Wed, 14 Jul 2010 21:57:17 +0000 (UTC)
commit 518b71e028953430f29e4e77ab2c317fcec28c5c
Author: Tom Tromey <tromey src gnome org>
Date: Tue Dec 23 17:15:26 1997 +0000
Minor fix to gnome_chomp_string.
- tromey cygnus com
libgnome/gnome-string.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgnome/gnome-string.c b/libgnome/gnome-string.c
index 5f56f93..27cfca9 100644
--- a/libgnome/gnome-string.c
+++ b/libgnome/gnome-string.c
@@ -108,7 +108,7 @@ gnome_chomp_string(gchar *astring, gboolean in_place)
if (!i)
return retval;
- *end = retval + i - 1;
+ end = retval + i - 1;
for (; end >= retval && isspace (*end); end--)
*end = '\0';
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]