Enlightenment CVS committal

Author  : rephorm
Project : e17
Module  : apps/elicit

Dir     : e17/apps/elicit/src


Modified Files:
        callbacks.c 


Log Message:
fix max zoom when using up/down signals instead of a slider

===================================================================
RCS file: /cvs/e/e17/apps/elicit/src/callbacks.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- callbacks.c 22 Mar 2007 14:42:44 -0000      1.24
+++ callbacks.c 25 Mar 2007 00:28:57 -0000      1.25
@@ -465,6 +465,7 @@
   {
     el->zoom += dir * 1;
     if (el->zoom < 1) el->zoom = 1;
+    if (el->zoom > 20) el->zoom = 20;
   }
 
   elicit_ui_update(el);



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to