From 64c53e2cdc5e3a6c96f9fcf268fee0c5412182d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Mon, 15 Jul 2024 10:05:35 +0800 Subject: [PATCH] TerminalFont (Linux): improve detection for xterm Fix #1095 --- src/common/properties.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/properties.c b/src/common/properties.c index fbf11416e..dd717c0a8 100644 --- a/src/common/properties.c +++ b/src/common/properties.c @@ -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);