[perl-Glib] Glib::GenPod: fix typo in default pspec values



commit 52072cafb95a7c7f4c05de22611611b3cec3e572
Author: Kevin Ryde <user42 zip com au>
Date:   Fri Dec 2 07:36:16 2011 +1100

    Glib::GenPod: fix typo in default pspec values
    
    Specifically, 'INT_MIN' instead of 'INT_MAX'.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=665331

 lib/Glib/GenPod.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/Glib/GenPod.pm b/lib/Glib/GenPod.pm
index cc9d11b..f5f8110 100644
--- a/lib/Glib/GenPod.pm
+++ b/lib/Glib/GenPod.pm
@@ -601,7 +601,7 @@ sub _pspec_formatted_default {
     # eg. Gtk2::Paned property "max-position" is INT_MAX
     $default = "INT_MAX";
   } elsif ($type eq 'Glib::Int' && $default == POSIX::INT_MIN()) {
-    $default = "INT_MAX";
+    $default = "INT_MIN";
   } elsif ($type eq 'Glib::UInt' && $default == POSIX::UINT_MAX()) {
     $default = "UINT_MAX";
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]