[wiki] [sites] [st][patch][csi_22_23] Use xstrdup || Ashish Kumar Yadav
commit 84b8df4bd5bd1506dd72da9928ccd9f2e8112517
Author: Ashish Kumar Yadav <ashishkumar.yadav_AT_students.iiserpune.ac.in>
Date: Tue Aug 3 00:17:55 2021 +0530
[st][patch][csi_22_23] Use xstrdup
diff --git a/st.suckless.org/patches/csi_22_23/st-csi_22_23-0.8.4.diff b/st.suckless.org/patches/csi_22_23/st-csi_22_23-0.8.4.diff
index 893a2c53..b2f87e26 100644
--- a/st.suckless.org/patches/csi_22_23/st-csi_22_23-0.8.4.diff
+++ b/st.suckless.org/patches/csi_22_23/st-csi_22_23-0.8.4.diff
_AT_@ -161,7 +161,7 @@ index 210f184..6184a11 100644
+ p = tstack.titles[tstack.i];
+ } else {
+ DEFAULT(p, opt_title);
-+ tstack.titles[tstack.i] = strdup(p);
++ tstack.titles[tstack.i] = xstrdup(p);
+ }
+
+ Xutf8TextListToTextProperty(xw.dpy, &p, 1, XUTF8StringStyle, &prop);
Received on Mon Aug 02 2021 - 20:48:00 CEST
This archive was generated by hypermail 2.3.0
: Mon Aug 02 2021 - 20:48:44 CEST