Skip to content
Snippets Groups Projects
Commit 1f1d7dbc authored by Superstarxalien's avatar Superstarxalien
Browse files

uppercase on prefix

parent 36bedf21
No related branches found
No related tags found
No related merge requests found
......@@ -191,7 +191,7 @@ void processSprites(void) {
// set prefix
item = cJSON_GetObjectItem(metadata, "prefix");
if (item)
strncpy(prefix, item->valuestring, 4);
strncpy(prefix, strupr(item->valuestring), 4);
else
strncpy(prefix, defprefix, 4);
......@@ -590,7 +590,7 @@ void addSkin(struct wadfile* wad)
uint32_t slen;
if (cJSON_GetObjectItem(metadata, "prefix"))
strncpy(prefix, cJSON_GetObjectItem(metadata, "prefix")->valuestring, 4);
strncpy(prefix, strupr(cJSON_GetObjectItem(metadata, "prefix")->valuestring), 4);
else
strncpy(prefix, defprefix, 4);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment