From 96f47306ac50080b67bfbcd87acaa36418a14d8b Mon Sep 17 00:00:00 2001 From: fluxgen Date: Wed, 26 Apr 2006 16:38:02 +0000 Subject: fixed minor bug --- src/FbTk/Texture.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FbTk/Texture.cc b/src/FbTk/Texture.cc index 0395cd5..04f5eb7 100644 --- a/src/FbTk/Texture.cc +++ b/src/FbTk/Texture.cc @@ -80,7 +80,7 @@ void Texture::setFromString(const char * const texture_str) { } else if (strstr(ts, "solid")) addType(Texture::SOLID); else - addType(Texture::DEFAULT_BEVEL); + addType(Texture::DEFAULT_TEXTURE); if (strstr(ts, "raised")) addType(Texture::RAISED); @@ -89,7 +89,7 @@ void Texture::setFromString(const char * const texture_str) { else if (strstr(ts, "flat")) addType(Texture::FLAT); else - addType(Texture::DEFAULT_TEXTURE); + addType(Texture::DEFAULT_BEVEL); if (! (type() & Texture::FLAT)) if (strstr(ts, "bevel2")) -- cgit v0.11.2