aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Image.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-12-16 17:06:52 (GMT)
committerfluxgen <fluxgen>2003-12-16 17:06:52 (GMT)
commit72b878f78c0df0a54cf8e9f04bb2e22dd6715658 (patch)
tree2bd5252fe426875a8bb7ba77b61eeff695ee3c62 /src/FbTk/Image.cc
parenta1930dbf6ae447e92a8dc063ab5d36057ae1babc (diff)
downloadfluxbox_pavel-72b878f78c0df0a54cf8e9f04bb2e22dd6715658.zip
fluxbox_pavel-72b878f78c0df0a54cf8e9f04bb2e22dd6715658.tar.bz2
fixed some icc warnings
Diffstat (limited to 'src/FbTk/Image.cc')
-rw-r--r--src/FbTk/Image.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/FbTk/Image.cc b/src/FbTk/Image.cc
index f5ffc24..98b602c 100644
--- a/src/FbTk/Image.cc
+++ b/src/FbTk/Image.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: Image.cc,v 1.2 2003/11/16 22:33:55 rathnor Exp $ 22// $Id: Image.cc,v 1.3 2003/12/16 17:06:51 fluxgen Exp $
23 23
24#include "Image.hh" 24#include "Image.hh"
25#include "StringUtil.hh" 25#include "StringUtil.hh"
@@ -87,10 +87,12 @@ bool Image::registerType(const std::string &type, ImageBase &base) {
87 s_image_map[ucase_type] != &base) 87 s_image_map[ucase_type] != &base)
88 return false; 88 return false;
89 // already registered? 89 // already registered?
90 if (s_image_map[ucase_type] = &base) 90 if (s_image_map[ucase_type] == &base)
91 return true; 91 return true;
92 92
93 s_image_map[ucase_type] = &base; 93 s_image_map[ucase_type] = &base;
94
95 return true;
94} 96}
95 97
96void Image::remove(ImageBase &base) { 98void Image::remove(ImageBase &base) {