summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/winefish/files/winefish-1.3.3-memset.patch')
-rw-r--r--app-text/winefish/files/winefish-1.3.3-memset.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-text/winefish/files/winefish-1.3.3-memset.patch b/app-text/winefish/files/winefish-1.3.3-memset.patch
new file mode 100644
index 000000000000..7390642bb690
--- /dev/null
+++ b/app-text/winefish/files/winefish-1.3.3-memset.patch
@@ -0,0 +1,11 @@
+--- a/src/highlight.c
++++ b/src/highlight.c
+@@ -731,7 +731,7 @@
+ GList *tmplist = g_list_first(level);
+ while (tmplist) {
+ Tpattern * pat = (Tpattern *)tmplist->data;
+- memset(pat->ovector,0,sizeof(pat->ovector));
++ memset(pat->ovector,0,sizeof(&pat->ovector));
+ pat->is_match = FALSE;
+ patmatch_init_run(pat->childs);
+ tmplist = g_list_next(tmplist);