Remove the "type" declaration from a .model line

This commit is contained in:
Holger Vogt 2022-03-13 11:24:33 +01:00
parent a1eb0cc63d
commit 242a1d796a
1 changed files with 11 additions and 0 deletions

View File

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