summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Michael <cpmichael1@comcast.net>2005-12-29 13:42:44 +0000
committerChristopher Michael <cpmichael1@comcast.net>2005-12-29 13:42:44 +0000
commitcb40e2eeba98f7d2ff079f05b87258b3a74b4f2f (patch)
tree3f58c5a82974012e3235ff06bbd2923c0a699262
parentfcb67e5ec906f8138598f33047eeec00e4d1828d (diff)
Add parens in e_border_maximize and add E_MAXIMIZE_VERTICAL & E_MAXIMIZE_HORIZONTAL to e_border_unmaximize; both to quiet compiler warnings.
SVN revision: 19365
-rw-r--r--src/bin/e_border.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/bin/e_border.c b/src/bin/e_border.c
index 5bc829bbe..ad6245174 100644
--- a/src/bin/e_border.c
+++ b/src/bin/e_border.c
@@ -1622,8 +1622,8 @@ e_border_maximize(E_Border *bd, E_Maximize max)
1622 e_border_move_resize(bd,x1,y1,w,h); 1622 e_border_move_resize(bd,x1,y1,w,h);
1623 break; 1623 break;
1624 } 1624 }
1625 if( bd->maximized == E_MAXIMIZE_HORIZONTAL && max == E_MAXIMIZE_VERTICAL || 1625 if( (bd->maximized == E_MAXIMIZE_HORIZONTAL && max == E_MAXIMIZE_VERTICAL) ||
1626 bd->maximized == E_MAXIMIZE_VERTICAL && max == E_MAXIMIZE_HORIZONTAL ) 1626 (bd->maximized == E_MAXIMIZE_VERTICAL && max == E_MAXIMIZE_HORIZONTAL) )
1627 bd->maximized = e_config->maximize_policy; 1627 bd->maximized = e_config->maximize_policy;
1628 else 1628 else
1629 bd->maximized = max; 1629 bd->maximized = max;
@@ -1768,6 +1768,12 @@ e_border_unmaximize(E_Border *bd)
1768 case E_MAXIMIZE_FILL: 1768 case E_MAXIMIZE_FILL:
1769 /* Ignore */ 1769 /* Ignore */
1770 break; 1770 break;
1771 case E_MAXIMIZE_VERTICAL:
1772 /*Ignore*/
1773 break;
1774 case E_MAXIMIZE_HORIZONTAL:
1775 /*Ignore*/
1776 break;
1771 } 1777 }
1772 bd->maximized = E_MAXIMIZE_NONE; 1778 bd->maximized = E_MAXIMIZE_NONE;
1773 1779