Browse Source

inpcom.c, cleanup inp_remove_ws(), #4/5, minor

pre-master-46
rlar 11 years ago
parent
commit
f1fcc943f9
  1. 4
      src/frontend/inpcom.c

4
src/frontend/inpcom.c

@ -2199,13 +2199,11 @@ static char*
inp_remove_ws(char *s)
{
char *x = s;
char *big_buff;
char *big_buff = TMALLOC(char, strlen(s) + 2);
int big_buff_index = 0;
char *buffer;
bool is_expression = FALSE;
big_buff = TMALLOC(char, strlen(s) + 2);
while (*s != '\0') {
if (*s == '{')
is_expression = TRUE;

Loading…
Cancel
Save