aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Texture.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-08-16 12:54:07 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-08-16 12:54:07 (GMT)
commit38654bae459716409ad2ee7975671fc2f131c869 (patch)
tree6f2f3c662f8317f47a422db02d17bff378266817 /src/FbTk/Texture.cc
parent06837ba8642b8a126de92f60ae05d5f84bba8bfe (diff)
downloadfluxbox-38654bae459716409ad2ee7975671fc2f131c869.zip
fluxbox-38654bae459716409ad2ee7975671fc2f131c869.tar.bz2
some cleanup
Diffstat (limited to 'src/FbTk/Texture.cc')
-rw-r--r--src/FbTk/Texture.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/FbTk/Texture.cc b/src/FbTk/Texture.cc
index 5a12e8d..2fcd915 100644
--- a/src/FbTk/Texture.cc
+++ b/src/FbTk/Texture.cc
@@ -89,11 +89,12 @@ void Texture::setFromString(const char * const texture_str) {
89 else 89 else
90 addType(Texture::DEFAULT_BEVEL); 90 addType(Texture::DEFAULT_BEVEL);
91 91
92 if (! (type() & Texture::FLAT)) 92 if (! (type() & Texture::FLAT)) {
93 if (strstr(ts, "bevel2")) 93 if (strstr(ts, "bevel2"))
94 addType(Texture::BEVEL2); 94 addType(Texture::BEVEL2);
95 else 95 else
96 addType(Texture::BEVEL1); 96 addType(Texture::BEVEL1);
97 }
97 98
98 if (strstr(ts, "invert")) 99 if (strstr(ts, "invert"))
99 addType(Texture::INVERT); 100 addType(Texture::INVERT);