From fb8ec8979b771fa5dc4d7e944f3fd3656a64390b Mon Sep 17 00:00:00 2001 From: rathnor <rathnor> Date: Tue, 3 Feb 2004 12:55:35 +0000 Subject: fix loading of the ColSmartPlacement policy --- src/Screen.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Screen.cc b/src/Screen.cc index 4dec665..547ba57 100644 --- a/src/Screen.cc +++ b/src/Screen.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Screen.cc,v 1.264 2004/01/21 14:14:18 fluxgen Exp $ +// $Id: Screen.cc,v 1.265 2004/02/03 12:55:35 rathnor Exp $ #include "Screen.hh" @@ -163,7 +163,7 @@ template <> void FbTk::Resource<BScreen::PlacementPolicy>::setFromString(const char *str) { if (strcasecmp("RowSmartPlacement", str) == 0) *(*this) = BScreen::ROWSMARTPLACEMENT; - else if (strcasecmp("", str) == 0) + else if (strcasecmp("ColSmartPlacement", str) == 0) *(*this) = BScreen::COLSMARTPLACEMENT; else if (strcasecmp("UnderMousePlacement", str) == 0) *(*this) = BScreen::UNDERMOUSEPLACEMENT; -- cgit v0.11.2