Remove the "type" declaration from a .model line
This commit is contained in:
parent
a1eb0cc63d
commit
242a1d796a
|
|
@ -9660,6 +9660,17 @@ static void rem_mfg_from_models(struct card *deck)
|
|||
start++;
|
||||
}
|
||||
}
|
||||
start = strstr(curr_line, "type=");
|
||||
if (start) {
|
||||
end = nexttok(start);
|
||||
if (*end == '\0')
|
||||
*start = '\0';
|
||||
else
|
||||
while (start < end) {
|
||||
*start = ' ';
|
||||
start++;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue