summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2006-04-26 16:38:02 (GMT)
committerfluxgen <fluxgen>2006-04-26 16:38:02 (GMT)
commit96f47306ac50080b67bfbcd87acaa36418a14d8b (patch)
tree638d677f0db91e50c82b0a4d3e7a6315634149ab /src
parent4d6e5e3f1cc47f85b228a476134f572cf277c152 (diff)
downloadfluxbox_lack-96f47306ac50080b67bfbcd87acaa36418a14d8b.zip
fluxbox_lack-96f47306ac50080b67bfbcd87acaa36418a14d8b.tar.bz2
fixed minor bug
Diffstat (limited to 'src')
-rw-r--r--src/FbTk/Texture.cc4
1 files 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) {
80 } else if (strstr(ts, "solid")) 80 } else if (strstr(ts, "solid"))
81 addType(Texture::SOLID); 81 addType(Texture::SOLID);
82 else 82 else
83 addType(Texture::DEFAULT_BEVEL); 83 addType(Texture::DEFAULT_TEXTURE);
84 84
85 if (strstr(ts, "raised")) 85 if (strstr(ts, "raised"))
86 addType(Texture::RAISED); 86 addType(Texture::RAISED);
@@ -89,7 +89,7 @@ void Texture::setFromString(const char * const texture_str) {
89 else if (strstr(ts, "flat")) 89 else if (strstr(ts, "flat"))
90 addType(Texture::FLAT); 90 addType(Texture::FLAT);
91 else 91 else
92 addType(Texture::DEFAULT_TEXTURE); 92 addType(Texture::DEFAULT_BEVEL);
93 93
94 if (! (type() & Texture::FLAT)) 94 if (! (type() & Texture::FLAT))
95 if (strstr(ts, "bevel2")) 95 if (strstr(ts, "bevel2"))