all repos — st @ 9acec468fbeaa9f90578352b610431ca9b2d4ee4

st (suckless terminal) config

minor code-style, initialize var at the top of function
Hiltjo Posthuma hiltjo@codemadness.org
commit

9acec468fbeaa9f90578352b610431ca9b2d4ee4

parent

927621f6da015f51710c03279b00c6cc38057e32

1 files changed, 1 insertions(+), 3 deletions(-)

jump to
M st.cst.c

@@ -1830,7 +1830,7 @@

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 @@ xsettitle(strescseq.args[1]);

return; case 52: if (narg > 2) { - char *dec; - dec = base64dec(strescseq.args[2]); if (dec) { xsetsel(dec);