mirror of git://git.suckless.org/st
minor code-style, initialize var at the top of function
This commit is contained in:
parent
927621f6da
commit
9acec468fb
4
st.c
4
st.c
|
@ -1830,7 +1830,7 @@ csireset(void)
|
||||||
void
|
void
|
||||||
strhandle(void)
|
strhandle(void)
|
||||||
{
|
{
|
||||||
char *p = NULL;
|
char *p = NULL, *dec;
|
||||||
int j, narg, par;
|
int j, narg, par;
|
||||||
|
|
||||||
term.esc &= ~(ESC_STR_END|ESC_STR);
|
term.esc &= ~(ESC_STR_END|ESC_STR);
|
||||||
|
@ -1848,8 +1848,6 @@ strhandle(void)
|
||||||
return;
|
return;
|
||||||
case 52:
|
case 52:
|
||||||
if (narg > 2) {
|
if (narg > 2) {
|
||||||
char *dec;
|
|
||||||
|
|
||||||
dec = base64dec(strescseq.args[2]);
|
dec = base64dec(strescseq.args[2]);
|
||||||
if (dec) {
|
if (dec) {
|
||||||
xsetsel(dec);
|
xsetsel(dec);
|
||||||
|
|
Loading…
Reference in New Issue