[gaim-migrate @ 12074]

Sun, 20 Feb 2005 20:21:20 +0000

author
Ka-Hing Cheung <khc@pidgin.im>
date
Sun, 20 Feb 2005 20:21:20 +0000
changeset 10614
cda55093c0e6
parent 10613
33c94d9a9e89
child 10615
8566eaa583f0

[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: Mark Doliner <markdoliner@pidgin.im>

src/util.c file | annotate | diff | comparison | revisions
--- 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:

mercurial