From 758184e5bc9595c2b711f596bd38cc38629f69fe Mon Sep 17 00:00:00 2001 From: Roman Fomin Date: Thu, 31 Mar 2022 13:57:17 +0700 Subject: [PATCH] umapinfo: allow uppercase episode shortcuts --- Source/u_mapinfo.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/u_mapinfo.c b/Source/u_mapinfo.c index 23daaac4..6bf125c6 100644 --- a/Source/u_mapinfo.c +++ b/Source/u_mapinfo.c @@ -515,7 +515,10 @@ static int ParseStandardProperty(u_scanner_t* s, mapentry_t *mape) if (U_CheckToken(s, ',')) { if (U_MustGetToken(s, TK_StringConst)) + { key = strdup(s->string); + key[0] = tolower(key[0]); + } } }