Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_scrollpane.c 


Log Message:
Fix copy and paste error that caused bad positioning for vertical scrollbar
and the horizontal scrollbar to not appear.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_scrollpane.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ewl_scrollpane.c    28 Mar 2005 07:04:29 -0000      1.2
+++ ewl_scrollpane.c    25 May 2005 04:12:50 -0000      1.3
@@ -348,7 +348,7 @@
         * Adjust the step and width dependant on scrollbar visibility.
         */
        if (VISIBLE(s->hscrollbar)) {
-               content_w -= vs_width;
+               content_h -= hs_height;
                if (content_h < b_height)
                        vstep = (double)content_h / (double)b_height;
        }




-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to