Fix crash bug when loading data without colors
This commit is contained in:
parent
2566d0eff5
commit
8ac2c68b99
@ -76,6 +76,7 @@ static void parseXml(mxml_node_t* rootNode, TrackData* trackData)
|
||||
}
|
||||
else
|
||||
{
|
||||
if (color_text)
|
||||
trackData->colors[track_index] = atoi(color_text);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user