1
0
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:
Laurent MONIN 2006-01-07 01:57:11 +01:00 committed by Laurent MONIN
parent 2e67ca1df9
commit ee0dc57771

View File

@ -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;