From 06320420a575ecb54a4d2099a971ffc24fa1d30d Mon Sep 17 00:00:00 2001 From: fluxgen Date: Sun, 16 Jul 2006 15:55:19 +0000 Subject: Fixed bug #1362913, did not check format pointer. --- src/FbTk/Transparent.cc | 35 +++++++++++++++++++++++++---------- 1 file changed, 25 insertions(+), 10 deletions(-) diff --git a/src/FbTk/Transparent.cc b/src/FbTk/Transparent.cc index 81aca99..a68b766 100644 --- a/src/FbTk/Transparent.cc +++ b/src/FbTk/Transparent.cc @@ -52,7 +52,9 @@ Picture createAlphaPic(Window drawable, unsigned char alpha) { PictFormatDepth | PictFormatAlphaMask, &pic_format, 0); if (format == 0) { - cerr<<"FbTk::Transparent: "<<_FBTK_CONSOLETEXT(Error, NoRenderFormat, "Warning: Failed to find valid format for alpha.", "transparency requires a pict format, can't get one...")<