Browse Source

inpcom.c, inp_bsource_compat(), shrink brace removal to the actual b-expression

pre-master-46
rlar 12 years ago
parent
commit
5464859ebb
  1. 2
      src/frontend/inpcom.c

2
src/frontend/inpcom.c

@ -5392,7 +5392,7 @@ inp_bsource_compat(struct line *card)
if ((str_ptr = strstr(curr_line, "m={m}")) != NULL)
memcpy(str_ptr, " ", 5);
/* scan the line and remove all '{' and '}' */
str_ptr = curr_line;
str_ptr = equal_ptr + 1;
while (*str_ptr) {
if ((*str_ptr == '{') || (*str_ptr == '}'))
*str_ptr = ' ';

Loading…
Cancel
Save