diff options
Diffstat (limited to 'src/gui/theme.cpp')
-rw-r--r-- | src/gui/theme.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp index 8f65b6671..f523df908 100644 --- a/src/gui/theme.cpp +++ b/src/gui/theme.cpp @@ -177,7 +177,7 @@ int Skin::getMinHeight() const Theme::Theme() : Palette(THEME_COLORS_END * THEME_PALETTES), mSkins(), - mMinimumOpacity(-1.0f), + mMinimumOpacity(-1.0F), mProgressColors(ProgressColors(THEME_PROG_END)) { initDefaultThemePath(); @@ -361,7 +361,7 @@ void Theme::unload(Skin *const skin) void Theme::setMinimumOpacity(const float minimumOpacity) { - if (minimumOpacity > 1.0f) + if (minimumOpacity > 1.0F) return; mMinimumOpacity = minimumOpacity; |