(svn r15110) -Fix: reading the shortname of graphicssets always missed the first character.

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
rubidium 16 years ago
parent 8510afe233
commit 3db8b544ba

@ -362,7 +362,7 @@ static bool FillGraphicsSetDetails(GraphicsSet *graphics, IniFile *ini, const ch
fetch_metadata("shortname");
for (uint i = 0; item->value[i] != '\0' && i < 4; i++) {
graphics->shortname |= ((uint8)item->value[i]) << (32 - i * 8);
graphics->shortname |= ((uint8)item->value[i]) << (i * 8);
}
fetch_metadata("version");

Loading…
Cancel
Save