old-st

[ARCHIVED] my build of st
git clone git://git.ckyln.com/~cem/old-st.git
Log | Files | Refs | README | LICENSE

commit 3437768aa2782a5cfefbd56827f9eeb86c289894
parent 0bfa58aad98b13e71f879261f0c6ea019d9763c7
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Fri, 15 Mar 2019 14:42:50 +0100

minor code-style, initialize var at the top of function

Diffstat:
Mst.c | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/st.c b/st.c @@ -1888,7 +1888,7 @@ csireset(void) void strhandle(void) { - char *p = NULL; + char *p = NULL, *dec; int j, narg, par; term.esc &= ~(ESC_STR_END|ESC_STR); @@ -1906,8 +1906,6 @@ strhandle(void) return; case 52: if (narg > 2) { - char *dec; - dec = base64dec(strescseq.args[2]); if (dec) { xsetsel(dec);