From 474fc58d94ede52a90d7d6baa0d41d77f09eb0be Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Wed, 19 Nov 2003 22:56:07 +0000 Subject: [PATCH] * user.c (expand_format): Preserve "%" if followed by a characted without special meaning. --- src/ChangeLog | 5 +++++ src/user.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 37f13b45a..22303d342 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2003-11-19 Pavel Roskin + + * user.c (expand_format): Preserve "%" if followed by a + characted without special meaning. + 2003-11-14 Andrew V. Samoilov * glibcompat.h: Define g_try_realloc as realloc for glib 1.2.x. diff --git a/src/user.c b/src/user.c index 7c865eaed..b3890c515 100644 --- a/src/user.c +++ b/src/user.c @@ -265,7 +265,7 @@ expand_format (struct WEdit *edit_widget, char c, int quote) return block; } /* sub case block */ } /* switch */ - return g_strdup (""); + return g_strdup ("%"); } /*