diff options
author | fluxgen <fluxgen> | 2004-01-11 21:04:21 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2004-01-11 21:04:21 (GMT) |
commit | 2db11d210484ad754026e769c05ce85e10afbb7c (patch) | |
tree | 38712993c777a044e5048a828eb2a1c06f3d5a8f /src | |
parent | a819ff8252cc65c7e49d41b67c9bb1c1a40f0fb2 (diff) | |
download | fluxbox-2db11d210484ad754026e769c05ce85e10afbb7c.zip fluxbox-2db11d210484ad754026e769c05ce85e10afbb7c.tar.bz2 |
minor fix
Diffstat (limited to 'src')
-rw-r--r-- | src/FbTk/Texture.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/FbTk/Texture.cc b/src/FbTk/Texture.cc index 2b67842..41314ce 100644 --- a/src/FbTk/Texture.cc +++ b/src/FbTk/Texture.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Texture.cc,v 1.7 2004/01/11 20:33:24 fluxgen Exp $ | 25 | // $Id: Texture.cc,v 1.8 2004/01/11 21:04:21 fluxgen Exp $ |
26 | 26 | ||
27 | #include "Texture.hh" | 27 | #include "Texture.hh" |
28 | 28 | ||
@@ -77,9 +77,7 @@ void Texture::setFromString(const char * const texture_str) { | |||
77 | else if (strstr(ts, "sunken")) | 77 | else if (strstr(ts, "sunken")) |
78 | addType(Texture::SUNKEN); | 78 | addType(Texture::SUNKEN); |
79 | else if (strstr(ts, "flat")) | 79 | else if (strstr(ts, "flat")) |
80 | addType(Texture::FLAT); | 80 | addType(Texture::FLAT); |
81 | else if (strstr(ts, "invert")) | ||
82 | addType(Texture::INVERT); | ||
83 | else | 81 | else |
84 | addType(Texture::RAISED); | 82 | addType(Texture::RAISED); |
85 | 83 | ||
@@ -89,6 +87,9 @@ void Texture::setFromString(const char * const texture_str) { | |||
89 | else | 87 | else |
90 | addType(Texture::BEVEL1); | 88 | addType(Texture::BEVEL1); |
91 | 89 | ||
90 | if (strstr(ts, "invert")) | ||
91 | addType(Texture::INVERT); | ||
92 | |||
92 | if (strstr(ts, "interlaced")) | 93 | if (strstr(ts, "interlaced")) |
93 | addType(Texture::INTERLACED); | 94 | addType(Texture::INTERLACED); |
94 | 95 | ||