[libsocialweb] utils: Fix omitted unescaping entities
- From: Rob Bradford <rbradford src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsocialweb] utils: Fix omitted unescaping entities
- Date: Thu, 17 Feb 2011 11:04:41 +0000 (UTC)
commit f8aa9a72931f74f7aea9cb4876da10f898a517b7
Author: Gary Ching-Pang Lin <chingpang gmail com>
Date: Thu Feb 17 15:52:13 2011 +0800
utils: Fix omitted unescaping entities
libsocialweb/sw-utils.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libsocialweb/sw-utils.c b/libsocialweb/sw-utils.c
index d7daf4f..3aadf06 100644
--- a/libsocialweb/sw-utils.c
+++ b/libsocialweb/sw-utils.c
@@ -175,7 +175,7 @@ sw_unescape_entities (gchar *string)
g_memmove (p + replacement_length, p + bucket_i + 2, len + 1);
}
- p = p + replacement_length;
+ p = p + replacement_length - 1;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]