commit a069579f03cc3e24297f368b893dabf74367d411
Author: Michael Buch <[email protected]>
Date:   Sat Jan 30 00:34:24 2021 +0000

    Fix argument order to calloc

diff --git a/st.suckless.org/patches/copyurl/st-copyurl-0.8.4.diff 
b/st.suckless.org/patches/copyurl/st-copyurl-0.8.4.diff
index bafe28fd..c0a5e358 100644
--- a/st.suckless.org/patches/copyurl/st-copyurl-0.8.4.diff
+++ b/st.suckless.org/patches/copyurl/st-copyurl-0.8.4.diff
@@ -81,7 +81,7 @@ diff -up ../st-0.8.4/st.c ./st.c
 +              colend = 0, /* column of last occurrence */
 +              passes = 0; /* how many rows have been scanned */
 +
-+      char *linestr = calloc(sizeof(Rune), term.col+1);
++      char *linestr = calloc(term.col+1, sizeof(Rune));
 +      char *c = NULL,
 +               *match = NULL;
 +


Reply via email to