st

my customized branch of st - synced with upstream git://git.suckless.org/st
git clone git://git.jakekoroman.com/st
Log | Files | Refs | README | LICENSE

commit 9acec468fbeaa9f90578352b610431ca9b2d4ee4
parent 927621f6da015f51710c03279b00c6cc38057e32
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);