fix loading of the ColSmartPlacement policy
This commit is contained in:
parent
136848e7c2
commit
fb8ec8979b
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// 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"
|
#include "Screen.hh"
|
||||||
|
@ -163,7 +163,7 @@ template <>
|
||||||
void FbTk::Resource<BScreen::PlacementPolicy>::setFromString(const char *str) {
|
void FbTk::Resource<BScreen::PlacementPolicy>::setFromString(const char *str) {
|
||||||
if (strcasecmp("RowSmartPlacement", str) == 0)
|
if (strcasecmp("RowSmartPlacement", str) == 0)
|
||||||
*(*this) = BScreen::ROWSMARTPLACEMENT;
|
*(*this) = BScreen::ROWSMARTPLACEMENT;
|
||||||
else if (strcasecmp("", str) == 0)
|
else if (strcasecmp("ColSmartPlacement", str) == 0)
|
||||||
*(*this) = BScreen::COLSMARTPLACEMENT;
|
*(*this) = BScreen::COLSMARTPLACEMENT;
|
||||||
else if (strcasecmp("UnderMousePlacement", str) == 0)
|
else if (strcasecmp("UnderMousePlacement", str) == 0)
|
||||||
*(*this) = BScreen::UNDERMOUSEPLACEMENT;
|
*(*this) = BScreen::UNDERMOUSEPLACEMENT;
|
||||||
|
|
Loading…
Reference in a new issue