changeset 10614:522b719ea774

[gaim-migrate @ 12074] sf patch #1123637, from Ka-Hing Cheung gaim_str_sub_away_formatters would strip out the '%' char if nothing is after it, this patch fixes that. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 20 Feb 2005 20:21:20 +0000
parents 351449bb5a74
children 2e720df50861
files src/util.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/util.c	Sun Feb 20 20:03:11 2005 +0000
+++ b/src/util.c	Sun Feb 20 20:21:20 2005 +0000
@@ -2336,6 +2336,8 @@
 				default:
 					cpy[cnt++] = *c;
 				}
+			} else {
+				cpy[cnt++] = *c;
 			}
 			break;
 		default: