[poppler] poppler/ProfileData.h

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Feb 20 20:51:46 UTC 2021


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

New commits:
commit 61d052e9aade5bec68b07fad7c0fc7521f8e86a9
Author: Albert Astals Cid <aacid at kde.org>
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 <jrb at gnome.org>
 // Copyright 2018 Adam Reichold <adam.reichold at t-online.de>
+// Copyright 2021 Albert Astals Cid <aacid at kde.org>
 //
 //========================================================================
 
@@ -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:


More information about the poppler mailing list