TerminalFont (Linux): fix typo

This commit is contained in:
李通洲
2023-10-08 09:53:32 +08:00
parent d7649d9f8f
commit 4c9d9f6223
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -2,6 +2,7 @@
Features:
* Support opkg (Packages, Linux)
* Support GNOME Console terminal version and font detection (Terminal, Linux)
Bugfixes:
* Fix possible crashes on Windows 7 (Disk, Windows)
@@ -29,7 +29,7 @@ static const char* getSystemMonospaceFont(void)
static void detectKgx(FFTerminalFontResult* terminalFont)
{
// kgx (gnome terminal) doesn't support profiles
// kgx (gnome console) doesn't support profiles
if(!ffSettingsGet("/org/gnome/Console/use-system-font", "org.gnome.Console", NULL, "use-system-font", FF_VARIANT_TYPE_BOOL).boolValue)
{
FF_AUTO_FREE const char* fontName = ffSettingsGet("/org/gnome/Console/custom-font", "org.gnome.Console", NULL, "custom-font", FF_VARIANT_TYPE_STRING).strValue;