commit fd998296eaefed8f7faef266542106150753cbce
parent 84b8df4bd5bd1506dd72da9928ccd9f2e8112517
Author: Ashish Kumar Yadav <ashishkumar.yadav@students.iiserpune.ac.in>
Date: Tue, 3 Aug 2021 20:46:59 +0530
[st][patch][csi_22_23] Fixed trivial bug
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
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
@@ -158,7 +158,7 @@ index 210f184..6184a11 100644
+ if (pop) {
+ tstack.titles[tstack.i] = NULL;
+ tstack.i = (tstack.i - 1 + TITLESTACKSIZE) % TITLESTACKSIZE;
-+ p = tstack.titles[tstack.i];
++ p = tstack.titles[tstack.i] ? tstack.titles[tstack.i] : opt_title;
+ } else {
+ DEFAULT(p, opt_title);
+ tstack.titles[tstack.i] = xstrdup(p);