diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/settings/qPrefDisplay.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/settings/qPrefDisplay.cpp b/core/settings/qPrefDisplay.cpp index ca340d504..6c5be8f3a 100644 --- a/core/settings/qPrefDisplay.cpp +++ b/core/settings/qPrefDisplay.cpp @@ -99,7 +99,7 @@ void qPrefDisplay::disk_divelist_font(bool doSync) void qPrefDisplay::set_font_size(double value) { - if (value != prefs.font_size) { + if (!IS_FP_SAME(value, prefs.font_size)) { prefs.font_size = value; disk_font_size(true); |