Skip to content
Extraits de code Groupes Projets
Valider ae88326e rédigé par Thomas Goyne's avatar Thomas Goyne
Parcourir les fichiers

Remove no-longer-used header variable in ass parser

parent df891244
Aucune branche associée trouvée
Étiquettes
Aucune requête de fusion associée trouvée
......@@ -129,14 +129,11 @@ void AssParser::AddLine(std::string const& data) {
if (data[0] == '[' && data.back() == ']') {
// Ugly hacks to allow intermixed v4 and v4+ style sections
const std::string low = boost::to_lower_copy(data);
std::string header = data;
if (low == "[v4 styles]") {
header = "[V4+ Styles]";
version = 0;
state = &AssParser::ParseStyleLine;
}
else if (low == "[v4+ styles]") {
header = "[V4+ Styles]";
version = 1;
state = &AssParser::ParseStyleLine;
}
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter