aboutsummaryrefslogtreecommitdiff
path: root/src/TextureRender.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-12-09 23:43:50 (GMT)
committerfluxgen <fluxgen>2002-12-09 23:43:50 (GMT)
commitbbc42200c649953474c75ecdd35393b7b5f6fccd (patch)
tree35f60a2b402ced1e601198c1aea030cd22a1be02 /src/TextureRender.cc
parent3218a4ce0d821f848f03bd4675dea5fb159c030c (diff)
downloadfluxbox-bbc42200c649953474c75ecdd35393b7b5f6fccd.zip
fluxbox-bbc42200c649953474c75ecdd35393b7b5f6fccd.tar.bz2
minor fix
Diffstat (limited to 'src/TextureRender.cc')
-rw-r--r--src/TextureRender.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/TextureRender.cc b/src/TextureRender.cc
index bae80bc..692984f 100644
--- a/src/TextureRender.cc
+++ b/src/TextureRender.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: TextureRender.cc,v 1.5 2002/12/02 20:15:22 fluxgen Exp $ 25// $Id: TextureRender.cc,v 1.6 2002/12/09 23:43:50 fluxgen Exp $
26 26
27#include "TextureRender.hh" 27#include "TextureRender.hh"
28 28
@@ -79,9 +79,9 @@ TextureRender::TextureRender(BImageControl &imgctrl,
79 79
80 80
81TextureRender::~TextureRender() { 81TextureRender::~TextureRender() {
82 if (red) delete [] red; 82 delete [] red;
83 if (green) delete [] green; 83 delete [] green;
84 if (blue) delete [] blue; 84 delete [] blue;
85} 85}
86 86
87 87
@@ -640,8 +640,8 @@ XImage *TextureRender::renderXImage() {
640 fprintf(stderr, 640 fprintf(stderr,
641 i18n-> 641 i18n->
642 getMessage( 642 getMessage(
643 FBNLS::ImageSet, FBNLS::ImageUnsupVisual, 643 FBNLS::ImageSet, FBNLS::ImageUnsupVisual,
644 "BImage::renderXImage: unsupported visual\n")); 644 "BImage::renderXImage: unsupported visual\n"));
645 delete [] d; 645 delete [] d;
646 XDestroyImage(image); 646 XDestroyImage(image);
647 return (XImage *) 0; 647 return (XImage *) 0;