X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=render%2Fmask.c;h=b6e3c443eaac3efa88a5c12593ed0f4d0bc82e3a;hb=c564b6245fcfaf0efd523cfa17bc1a73fe640d68;hp=c883a5e342d1c039070408bfd38bf7d6d25f40f3;hpb=c4e4760c41f10aae6af19a4363cb247c71edee4b;p=chaz%2Fopenbox diff --git a/render/mask.c b/render/mask.c index c883a5e3..b6e3c443 100644 --- a/render/mask.c +++ b/render/mask.c @@ -1,7 +1,7 @@ -/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*- +/* -*- 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;