all repos — fluxbox @ a65e9c686ea8b9c029cb77d3c109f05a36bfe042

custom fork of the fluxbox windowmanager

Fix semantic errors (wrong variable names etc)

Uncovered by coverity-scan.
Mathias Gumz akira@fluxbox.org
commit

a65e9c686ea8b9c029cb77d3c109f05a36bfe042

parent

df996370d0f6c606e5135bb0a461514f46532195

2 files changed, 3 insertions(+), 2 deletions(-)

jump to
M src/FbRootWindow.ccsrc/FbRootWindow.cc

@@ -74,6 +74,6 @@ if (m_visual != DefaultVisual(disp, screen_num)) {

m_colormap = XCreateColormap(disp, window(), m_visual, AllocNone); } if (m_decorationVisual != DefaultVisual(disp, screen_num)) { - m_decorationColormap = XCreateColormap(disp, window(), m_visual, AllocNone); + m_decorationColormap = XCreateColormap(disp, window(), m_decorationVisual, AllocNone); } }
M src/Remember.ccsrc/Remember.cc

@@ -247,6 +247,7 @@ case '(': case ')': case '[': case ']':

escaped_str += '\\'; default: escaped_str += *i; + break; } }

@@ -982,7 +983,7 @@ break;

case (WindowState::DECOR_BORDER): apps_file << " [Deco]\t{BORDER}" << endl; break; - case (WindowState::DECORM_TAB): + case (WindowState::DECOR_TAB): apps_file << " [Deco]\t{TAB}" << endl; break; default: