Capitalized Variants

This commit is contained in:
Niklas080208
2026-02-03 21:22:37 +01:00
parent 3d3489f1e6
commit fdad061616
3 changed files with 7 additions and 7 deletions

View File

@@ -50,11 +50,11 @@ static omninx_variant_t read_manifest_variant(const char *manifest_path) {
LIST_FOREACH_ENTRY(ini_kv_t, kv, &sec->kvs, link) {
if (kv->key && !strcmp(kv->key, "current_pack")) {
if (kv->val) {
if (!strcmp(kv->val, "standard")) {
if (!strcmp(kv->val, "Standard")) {
variant = VARIANT_STANDARD;
} else if (!strcmp(kv->val, "light")) {
} else if (!strcmp(kv->val, "Light")) {
variant = VARIANT_LIGHT;
} else if (!strcmp(kv->val, "oc")) {
} else if (!strcmp(kv->val, "OC")) {
variant = VARIANT_OC;
}
}