summaryrefslogtreecommitdiff
path: root/arabic/katoob/files/patch-src-search.c
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-05-24 23:33:38 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-05-24 23:33:38 +0000
commit7a8709c112c4079fe65b1444a1aa2483a1b2862e (patch)
tree6513052c312b8fe085dc322b368790e5ad50492b /arabic/katoob/files/patch-src-search.c
parent- Switch from obtaining sources from CVS to a tarball (diff)
- Fix crash in search and replace
- Fix crash on exit when permissions on configuration file were changed PR: ports/67126 Submitted by: Samy Al Bahra <samy@kerneled.org> (maintainer)
Diffstat (limited to '')
-rw-r--r--arabic/katoob/files/patch-src-search.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/arabic/katoob/files/patch-src-search.c b/arabic/katoob/files/patch-src-search.c
new file mode 100644
index 000000000000..b9f3b63c7639
--- /dev/null
+++ b/arabic/katoob/files/patch-src-search.c
@@ -0,0 +1,14 @@
+--- src/search.c Tue Aug 26 07:54:37 2003
++++ src/search.c.patch Mon May 24 17:07:16 2004
+@@ -266,9 +266,8 @@
+ tmp = katoob_document_get_last_replaced (doc);
+ if ((tmp) && (replace))
+ {
+- gtk_entry_set_text (GTK_ENTRY (entry2), g_strdup (tmp));
+- g_free (tmp);
+- tmp = NULL;
++ gtk_entry_set_text (GTK_ENTRY (entry2), tmp);
++ tmp = NULL;
+ }
+ }
+