summaryrefslogtreecommitdiff
path: root/src/maid-x11.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2011-02-20 19:54:40 +0100
committerBardur Arantsson <bardur@scientician.net>2011-02-20 20:56:41 +0100
commit5fbe06613a8a9e5d8731a832ddff0e9bdce112bb (patch)
tree4ab5267304509feed1bbcf4ad265cd8597c64fce /src/maid-x11.c
parent420428c53fe83064331ac2e06297c8a93abc93cf (diff)
Remove redefinition of "bool" for C++ friendliness.
Diffstat (limited to 'src/maid-x11.c')
-rw-r--r--src/maid-x11.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/maid-x11.c b/src/maid-x11.c
index 767413a7..2cdb9da6 100644
--- a/src/maid-x11.c
+++ b/src/maid-x11.c
@@ -64,7 +64,7 @@
#ifdef SUPPORT_GAMMA
-static bool gamma_table_ready = FALSE;
+static bool_ gamma_table_ready = FALSE;
#endif /* SUPPORT_GAMMA */
@@ -383,7 +383,7 @@ static int redShift, greenShift, blueShift;
/*
* Use smooth rescaling?
*/
-static bool smoothRescaling = TRUE;
+static bool_ smoothRescaling = TRUE;
/*
@@ -401,7 +401,7 @@ static void GetScaledRow(XImage *Im, int x, int y, int iw, int ow,
int xi, si, sifrac, ci, cifrac, addWhole, addFrac;
unsigned long pix;
int prevRed, prevGreen, prevBlue, nextRed, nextGreen, nextBlue;
- bool getNextPix;
+ bool_ getNextPix;
if (iw == ow)
{
@@ -580,7 +580,7 @@ static void ScaleIcon(XImage *ImIn, XImage *ImOut,
unsigned long tempGreen [MAX_ICON_WIDTH];
unsigned long tempBlue [MAX_ICON_WIDTH];
- bool getNextRow;
+ bool_ getNextRow;
/* get divider value for the horizontal scaling: */
if (ix == ox)