Browse Source

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

master
Hiltjo Posthuma 5 years ago
parent
commit
9acec468fb
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      st.c

+ 1
- 3
st.c View File

@ -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…
Cancel
Save