[gnumeric] Search/Replace: previous change for cell comments too.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Search/Replace: previous change for cell comments too.
- Date: Fri, 6 Apr 2012 19:10:11 +0000 (UTC)
commit 4b46c759ff886211a1178937b5782dd4a3605e7d
Author: Morten Welinder <terra gnome org>
Date: Fri Apr 6 15:09:47 2012 -0400
Search/Replace: previous change for cell comments too.
src/search.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/search.c b/src/search.c
index 812d5e0..ef68db9 100644
--- a/src/search.c
+++ b/src/search.c
@@ -347,6 +347,11 @@ gnm_search_replace_comment (GnmSearchReplace *sr,
res->new_text = go_search_replace_string (GO_SEARCH_REPLACE (sr),
norm_text);
found = (res->new_text != NULL);
+ if (found) {
+ char *norm = gnm_search_normalize_result (res->new_text);
+ g_free (res->new_text);
+ res->new_text = norm;
+ }
} else
found = go_search_match_string (GO_SEARCH_REPLACE (sr),
norm_text);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]