TerminalFont (Linux): fix typo

This commit is contained in:
李通洲 2023-10-08 09:53:32 +08:00
parent d7649d9f8f
commit 4c9d9f6223
No known key found for this signature in database
GPG Key ID: 269AD4F5325A22A3
2 changed files with 2 additions and 1 deletions

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)

View File

@ -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;