From 0305cbdc3ae8525c74b2bb9b23884035549e3407 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 26 May 2002 20:25:38 +0000 Subject: add Configuration class for generic configuration data load/save-ing. use Configuration class throughout code. no longer save rc file on exit, save when any options are changed. --- src/ImageControl.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ImageControl.cc') diff --git a/src/ImageControl.cc b/src/ImageControl.cc index eed97734..9be8cf13 100644 --- a/src/ImageControl.cc +++ b/src/ImageControl.cc @@ -373,7 +373,7 @@ BImageControl::~BImageControl(void) { delete [] colors; } - if (!cache.empty()) { + if (! cache.empty()) { //#ifdef DEBUG fprintf(stderr, i18n(ImageSet, ImagePixmapRelease, "BImageContol::~BImageControl: pixmap cache - " @@ -432,7 +432,7 @@ Pixmap BImageControl::renderImage(unsigned int width, unsigned int height, BImage image(this, width, height); pixmap = image.render(texture); - if (!pixmap) + if (! pixmap) return None; CachedImage tmp; @@ -466,7 +466,7 @@ Pixmap BImageControl::renderImage(unsigned int width, unsigned int height, void BImageControl::removeImage(Pixmap pixmap) { - if (!pixmap) + if (! pixmap) return; CacheContainer::iterator it = cache.begin(); -- cgit v1.2.3