Enlightenment CVS committal Author : rbdpngn Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_dialog.c Log Message: Brilliantly stupid dialog change. =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_dialog.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- ewl_dialog.c 9 Oct 2005 05:18:39 -0000 1.6 +++ ewl_dialog.c 10 Oct 2005 04:49:22 -0000 1.7 @@ -123,7 +123,7 @@ /* * First determine the orientation of the dialog area. */ - if (pos & EWL_POSITION_LEFT & EWL_POSITION_RIGHT) { + if (pos & (EWL_POSITION_LEFT | EWL_POSITION_RIGHT)) { ewl_box_orientation_set(EWL_BOX(d->box), EWL_ORIENTATION_HORIZONTAL); ewl_box_orientation_set(EWL_BOX(d->separator), @@ -146,7 +146,7 @@ /* * Repack order of the widgets to match new position */ - if (pos & EWL_POSITION_LEFT & EWL_POSITION_TOP) { + if (pos & (EWL_POSITION_LEFT | EWL_POSITION_TOP)) { ewl_container_child_prepend(EWL_CONTAINER(d->box), d->separator); ewl_container_child_prepend(EWL_CONTAINER(d->box), ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs