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

This commit is contained in:
rlar 2014-11-02 12:44:51 +01:00
parent 5550d53512
commit 5464859ebb
1 changed files with 1 additions and 1 deletions

View File

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