st

simple terminal

git clone https://9o.is/git/st.git

commit 2a1d086e3c4cb06580d77bfb51ff7178d9d05f5c
parent b1656bef447742a33c87ce7a33c07bb78336780e
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 @@ -1830,7 +1830,7 @@ csireset(void) void strhandle(void) { - char *p = NULL; + char *p = NULL, *dec; int j, narg, par; term.esc &= ~(ESC_STR_END|ESC_STR); @@ -1848,8 +1848,6 @@ strhandle(void) return; case 52: if (narg > 2) { - char *dec; - dec = base64dec(strescseq.args[2]); if (dec) { xsetsel(dec);