TerminalFont (Linux): improve detection for xterm

Fix #1095
This commit is contained in:
李通洲
2024-07-15 10:05:35 +08:00
parent 7eaefe163a
commit 64c53e2cdc
+1 -1
View File
@@ -59,7 +59,7 @@ bool ffParsePropLinePointer(const char** line, const char* start, FFstrbuf* buff
}
//Copy the value to the buffer
while(**line != valueEnd && **line != '\n' && **line != '\0')
while(tolower(**line) != tolower(valueEnd) && **line != '\n' && **line != '\0')
{
ffStrbufAppendC(buffer, **line);
++(*line);