[gnome-utils] gsearchtool: Fix bug 615787, searching for backslashes in text files.
- From: Dennis Cranston <dcransto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-utils] gsearchtool: Fix bug 615787, searching for backslashes in text files.
- Date: Wed, 29 Sep 2010 05:18:18 +0000 (UTC)
commit bc5013b3456ecae6836873323ae1d6939e1a8875
Author: Dennis Cranston <dennis_cranston yahoo com>
Date: Tue Sep 28 15:14:38 2010 -0700
gsearchtool: Fix bug 615787, searching for backslashes in text files.
gsearchtool/gsearchtool-support.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gsearchtool/gsearchtool-support.c b/gsearchtool/gsearchtool-support.c
index 3852178..79f7dac 100644
--- a/gsearchtool/gsearchtool-support.c
+++ b/gsearchtool/gsearchtool-support.c
@@ -622,7 +622,7 @@ backslash_special_characters (const gchar * string)
if (*string == '\\') {
g_string_append(gs, "\\\\");
}
- if (*string == '-') {
+ else if (*string == '-') {
g_string_append(gs, "\\-");
}
else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]