From 53953e3e689f499392343003656acaf77e67972d Mon Sep 17 00:00:00 2001 From: Siarzhuk Zharski Date: Sat, 16 Mar 2013 17:15:49 +0100 Subject: [PATCH] Remove useless font style/family settings defaults No need for PREF_HALF_FONT_FAMILY/_STYLE defaults to be defined explicitly, these entries will be filled with corresponding params of the current system fixed font if they are not available from the settings file. Fixes #9531. --- src/apps/terminal/PrefHandler.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/apps/terminal/PrefHandler.cpp b/src/apps/terminal/PrefHandler.cpp index d897b9db76..159693bd29 100644 --- a/src/apps/terminal/PrefHandler.cpp +++ b/src/apps/terminal/PrefHandler.cpp @@ -42,8 +42,11 @@ static const pref_defaults kTermDefaults[] = { { PREF_COLS, "80" }, { PREF_ROWS, "25" }, - { PREF_HALF_FONT_FAMILY, "Courier10 BT" }, - { PREF_HALF_FONT_STYLE, "Regular" }, +// No need for PREF_HALF_FONT_FAMILY/_STYLE defaults here, +// these entries will be filled with corresponding params +// of the current system fixed font if they are not +// available in the settings file + { PREF_HALF_FONT_SIZE, "12" }, { PREF_TEXT_FORE_COLOR, " 0, 0, 0" },