diff -r 104aab6e5d86 -r 9b6f8c3587f0 lemon/graph_to_eps.h --- a/lemon/graph_to_eps.h Fri Jun 10 12:11:50 2005 +0000 +++ b/lemon/graph_to_eps.h Fri Jun 10 12:16:25 2005 +0000 @@ -775,7 +775,7 @@ os << "\ngsave\n"; if(_scaleToA4) if(bb.height()>bb.width()) { - double sc= min((A4HEIGHT-2*A4BORDER)/bb.height(), + double sc= std::min((A4HEIGHT-2*A4BORDER)/bb.height(), (A4WIDTH-2*A4BORDER)/bb.width()); os << ((A4WIDTH -2*A4BORDER)-sc*bb.width())/2 + A4BORDER << ' ' << ((A4HEIGHT-2*A4BORDER)-sc*bb.height())/2 + A4BORDER << " translate\n" @@ -784,7 +784,7 @@ } else { //\todo Verify centering - double sc= min((A4HEIGHT-2*A4BORDER)/bb.width(), + double sc= std::min((A4HEIGHT-2*A4BORDER)/bb.width(), (A4WIDTH-2*A4BORDER)/bb.height()); os << ((A4WIDTH -2*A4BORDER)-sc*bb.height())/2 + A4BORDER << ' ' << ((A4HEIGHT-2*A4BORDER)-sc*bb.width())/2 + A4BORDER << " translate\n"