X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=render%2Fmask.c;h=b6e3c443eaac3efa88a5c12593ed0f4d0bc82e3a;hb=c564b6245fcfaf0efd523cfa17bc1a73fe640d68;hp=3144aff47f57b954dfed84e6c4f5d938636145d7;hpb=16f46c296d1fcd3f27fc62a18e71c55fb3fd3e88;p=chaz%2Fopenbox diff --git a/render/mask.c b/render/mask.c index 3144aff4..b6e3c443 100644 --- a/render/mask.c +++ b/render/mask.c @@ -1,7 +1,7 @@ /* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*- mask.c for the Openbox window manager - Copyright (c) 2003 Ben Jansens + Copyright (c) 2003-2007 Dana Jansens Copyright (c) 2003 Derek Foreman This program is free software; you can redistribute it and/or modify @@ -46,8 +46,8 @@ void RrPixmapMaskFree(RrPixmapMask *m) void RrPixmapMaskDraw(Pixmap p, const RrTextureMask *m, const RrRect *area) { - int x, y; - if (m->mask == None) return; /* no mask given */ + gint x, y; + if (m->mask == NULL) return; /* no mask given */ /* set the clip region */ x = area->x + (area->width - m->mask->width) / 2;