You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-text/winefish/files/winefish-1.3.3-memset.patch

12 lines
364 B

--- 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);