diff options
author | Brian Bidulock | 2016-08-08 21:08:41 -0600 |
---|---|---|
committer | Brian Bidulock | 2016-08-08 21:08:41 -0600 |
commit | 34bdccda5922ae0c2fe1557c1d31e6acee864f43 (patch) | |
tree | 734f278cdbf387987d0d438bf91bc35f1f95958d /fbdesk-1.4.1-false.patch | |
parent | cc68546bc0d2cce03500c31bc53709323455f178 (diff) | |
download | aur-fbdesk.tar.gz |
version 1.4.1-5
Diffstat (limited to 'fbdesk-1.4.1-false.patch')
-rw-r--r-- | fbdesk-1.4.1-false.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/fbdesk-1.4.1-false.patch b/fbdesk-1.4.1-false.patch new file mode 100644 index 000000000000..bfc105e09d7f --- /dev/null +++ b/fbdesk-1.4.1-false.patch @@ -0,0 +1,20 @@ +diff -up fbdesk-1.4.1/src/FbTk/Image.cc.orig fbdesk-1.4.1/src/FbTk/Image.cc +--- fbdesk-1.4.1/src/FbTk/Image.cc.orig 2016-08-08 21:01:04.000000000 -0600 ++++ fbdesk-1.4.1/src/FbTk/Image.cc 2016-08-08 21:01:12.000000000 -0600 +@@ -85,14 +85,14 @@ PixmapWithMask *Image::load(const std::s + + + if (filename == "") +- return false; ++ return NULL; + + // determine file ending + std::string extension(StringUtil::toUpper(StringUtil::findExtension(filename))); + + // valid handle? + if (s_image_map.find(extension) == s_image_map.end()) +- return false; ++ return NULL; + + // load file + PixmapWithMask *pm = s_image_map[extension]->load(filename, screen_num); |