From: Enlightenment S. <no-...@en...> - 2009-10-26 17:47:59
|
Log: Fixups after recent border part title/icon changes. Author: kwo Date: 2009-10-26 10:47:32 -0700 (Mon, 26 Oct 2009) New Revision: 43299 Modified: trunk/E16/e/src/borders.c Modified: trunk/E16/e/src/borders.c =================================================================== --- trunk/E16/e/src/borders.c 2009-10-26 14:06:21 UTC (rev 43298) +++ trunk/E16/e/src/borders.c 2009-10-26 17:47:32 UTC (rev 43299) @@ -242,7 +242,7 @@ for (i = 0; i < ewin->border->num_winparts; i++) { - if (ewin->border->part[i].flags == FLAG_TITLE) + if (ewin->border->part[i].flags & FLAG_TITLE) BorderWinpartITclassApply(ewin, i, 1); } } @@ -315,7 +315,7 @@ * just a little bit more than the size of the title text. */ - if (max == 0 && ewin->border->part[i].flags == FLAG_TITLE) + if (max == 0 && ewin->border->part[i].flags & FLAG_TITLE) { int dummywidth, wmax, wmin; ImageClass *iclass; @@ -380,7 +380,7 @@ * size to just a little bit more than the size of the title text. */ - if (max == 0 && ewin->border->part[i].flags == FLAG_TITLE) + if (max == 0 && ewin->border->part[i].flags & FLAG_TITLE) { int dummyheight; ImageClass *iclass; |