mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-21 23:05:59 +01:00
minor code-style, initialize var at the top of function
This commit is contained in:
parent
927621f6da
commit
9acec468fb
1 changed files with 1 additions and 3 deletions
4
st.c
4
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);
|
||||
|
|
Loading…
Reference in a new issue