aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk')
-rw-r--r--src/FbTk/Image.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/Image.cc b/src/FbTk/Image.cc
index 070672e..1cf94fa 100644
--- a/src/FbTk/Image.cc
+++ b/src/FbTk/Image.cc
@@ -67,14 +67,14 @@ PixmapWithMask *Image::load(const string &filename, int screen_num) {
67 67
68 68
69 if (filename.empty()) 69 if (filename.empty())
70 return false; 70 return NULL;
71 71
72 // determine file ending 72 // determine file ending
73 string extension(StringUtil::toUpper(StringUtil::findExtension(filename))); 73 string extension(StringUtil::toUpper(StringUtil::findExtension(filename)));
74 74
75 // valid handle? 75 // valid handle?
76 if (s_image_map.find(extension) == s_image_map.end()) 76 if (s_image_map.find(extension) == s_image_map.end())
77 return false; 77 return NULL;
78 78
79 string path = locateFile(filename); 79 string path = locateFile(filename);
80 if (!path.empty()) 80 if (!path.empty())