mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
exec_on_master_terminal(): tidy up.
This commit is contained in:
parent
2e67ca1df9
commit
ee0dc57771
@ -205,11 +205,9 @@ exec_on_master_terminal(struct terminal *term,
|
||||
int fg)
|
||||
{
|
||||
int blockh;
|
||||
unsigned char *param;
|
||||
int param_size;
|
||||
int param_size = plen + dlen + 2 /* 2 null char */ + 1 /* fg */;
|
||||
unsigned char *param = fmem_alloc(param_size);
|
||||
|
||||
param_size = plen + dlen + 2 /* 2 null char */ + 1 /* fg */;
|
||||
param = fmem_alloc(param_size);
|
||||
if (!param) return;
|
||||
|
||||
param[0] = fg;
|
||||
|
Loading…
Reference in New Issue
Block a user