diff options
author | fluxgen <fluxgen> | 2003-08-28 14:18:36 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-08-28 14:18:36 (GMT) |
commit | 2de46c7adeaf602923e459da51dcfd342e1e15cd (patch) | |
tree | 457176280b39e376094b7b377c84e0a3f9537339 /src/FbTk | |
parent | eb7ff98f6af6feb8ff6f4122b978a3ff1a180e2f (diff) | |
download | fluxbox_lack-2de46c7adeaf602923e459da51dcfd342e1e15cd.zip fluxbox_lack-2de46c7adeaf602923e459da51dcfd342e1e15cd.tar.bz2 |
fixed pixmap bug
Diffstat (limited to 'src/FbTk')
-rw-r--r-- | src/FbTk/Theme.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/FbTk/Theme.cc b/src/FbTk/Theme.cc index 4c1504b..8ebab7d 100644 --- a/src/FbTk/Theme.cc +++ b/src/FbTk/Theme.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: Theme.cc,v 1.13 2003/08/22 22:17:30 fluxgen Exp $ | 22 | // $Id: Theme.cc,v 1.14 2003/08/28 14:18:36 fluxgen Exp $ |
23 | 23 | ||
24 | #include "Theme.hh" | 24 | #include "Theme.hh" |
25 | 25 | ||
@@ -132,6 +132,7 @@ void ThemeItem<FbTk::Texture>::load() { | |||
132 | std::auto_ptr<PixmapWithMask> pm(Image::load(pixmap_name, m_tm.screenNum())); | 132 | std::auto_ptr<PixmapWithMask> pm(Image::load(pixmap_name, m_tm.screenNum())); |
133 | if (pm.get() == 0) { | 133 | if (pm.get() == 0) { |
134 | cerr<<"Resource("<<name()+".pixmap"<<"): Failed to load image: "<<pixmap_name<<endl; | 134 | cerr<<"Resource("<<name()+".pixmap"<<"): Failed to load image: "<<pixmap_name<<endl; |
135 | m_value.pixmap() = 0; | ||
135 | } else | 136 | } else |
136 | m_value.pixmap() = pm->pixmap().release(); | 137 | m_value.pixmap() = pm->pixmap().release(); |
137 | } | 138 | } |