all repos — fluxbox @ bbc42200c649953474c75ecdd35393b7b5f6fccd

custom fork of the fluxbox windowmanager

minor fix
fluxgen fluxgen
commit

bbc42200c649953474c75ecdd35393b7b5f6fccd

parent

3218a4ce0d821f848f03bd4675dea5fb159c030c

1 files changed, 6 insertions(+), 6 deletions(-)

jump to
M src/TextureRender.ccsrc/TextureRender.cc

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: TextureRender.cc,v 1.5 2002/12/02 20:15:22 fluxgen Exp $ +// $Id: TextureRender.cc,v 1.6 2002/12/09 23:43:50 fluxgen Exp $ #include "TextureRender.hh"

@@ -79,9 +79,9 @@ }

TextureRender::~TextureRender() { - if (red) delete [] red; - if (green) delete [] green; - if (blue) delete [] blue; + delete [] red; + delete [] green; + delete [] blue; }

@@ -640,8 +640,8 @@ default:

fprintf(stderr, i18n-> getMessage( - FBNLS::ImageSet, FBNLS::ImageUnsupVisual, - "BImage::renderXImage: unsupported visual\n")); + FBNLS::ImageSet, FBNLS::ImageUnsupVisual, + "BImage::renderXImage: unsupported visual\n")); delete [] d; XDestroyImage(image); return (XImage *) 0;