Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : proto/epdf

Dir     : e17/proto/epdf/src/lib


Modified Files:
        epdf_page.cpp 


Log Message:
fix test, aas page->page can be equal to 0

===================================================================
RCS file: /cvs/e/e17/proto/epdf/src/lib/epdf_page.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- epdf_page.cpp       22 May 2008 04:43:14 -0000      1.4
+++ epdf_page.cpp       13 Jul 2008 09:25:23 -0000      1.5
@@ -388,7 +388,7 @@
   int w = 0;
   int h = 0;
 
-  if (page && page->page) {
+  if (page) {
     rotate = page->page->getRotate ();
     if (rotate == 90 || rotate == 270) {
       w = (int)page->page->getMediaHeight ();



-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to