diff --git a/source/gx/terminix/constants.d b/source/gx/terminix/constants.d index 96b44ed2..749ab0dc 100644 --- a/source/gx/terminix/constants.d +++ b/source/gx/terminix/constants.d @@ -23,7 +23,7 @@ enum APPLICATION_ID = "com.gexperts.Terminix"; // Application values used in About Dialog enum APPLICATION_NAME = "Terminix"; -enum APPLICATION_VERSION = "0.50.2"; +enum APPLICATION_VERSION = "0.51.0"; enum APPLICATION_AUTHOR = "Gerald Nunn"; enum APPLICATION_COPYRIGHT = "Copyright \xc2\xa9 2016 " ~ APPLICATION_AUTHOR; enum APPLICATION_COMMENTS = "A VTE based terminal emulator for Linux"; diff --git a/source/gx/terminix/terminal/terminal.d b/source/gx/terminix/terminal/terminal.d index cedcd8f1..94e4e112 100644 --- a/source/gx/terminix/terminal/terminal.d +++ b/source/gx/terminix/terminal/terminal.d @@ -909,11 +909,11 @@ private: vte.getStyleContext().getColor(StateFlags.ACTIVE, fg); vte.getStyleContext().getBackgroundColor(StateFlags.ACTIVE, bg); } else { - if (!fg.parse(gsProfile.getString(SETTINGS_PROFILE_FG_COLOR_KEY))) - trace("Parsing foreground color failed"); - if (!bg.parse(gsProfile.getString(SETTINGS_PROFILE_BG_COLOR_KEY))) - trace("Parsing background color failed"); - } + if (!fg.parse(gsProfile.getString(SETTINGS_PROFILE_FG_COLOR_KEY))) + trace("Parsing foreground color failed"); + if (!bg.parse(gsProfile.getString(SETTINGS_PROFILE_BG_COLOR_KEY))) + trace("Parsing background color failed"); + } bg.alpha = to!double(100 - gsProfile.getInt(SETTINGS_PROFILE_BG_TRANSPARENCY_KEY)) / 100.0; string[] colors = gsProfile.getStrv(SETTINGS_PROFILE_PALETTE_COLOR_KEY); foreach (i, color; colors) {