poppler/ProfileData.h |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 61d052e9aade5bec68b07fad7c0fc7521f8e86a9
Author: Albert Astals Cid <[email protected]>
Date:   Sat Feb 20 21:46:19 2021 +0100

    Make getMin return the min, not the max ^_^

diff --git a/poppler/ProfileData.h b/poppler/ProfileData.h
index 19c037a0..b13cff7f 100644
--- a/poppler/ProfileData.h
+++ b/poppler/ProfileData.h
@@ -4,6 +4,7 @@
 //
 // Copyright 2005 Jonathan Blandford <[email protected]>
 // Copyright 2018 Adam Reichold <[email protected]>
+// Copyright 2021 Albert Astals Cid <[email protected]>
 //
 //========================================================================
 
@@ -21,7 +22,7 @@ public:
 
     int getCount() const { return count; }
     double getTotal() const { return total; }
-    double getMin() const { return max; }
+    double getMin() const { return min; }
     double getMax() const { return max; }
 
 private:
_______________________________________________
poppler mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to