[vlc-devel] commit: Allow SpinBox to go over 1600 in OS-X prefs. (Jean-Baptiste Kempf )

git version control git at videolan.org
Wed Jul 9 09:28:53 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Jul  8 11:21:18 2008 +0200| [a1bd8b94477962ef495117ea161246172ce83859]

Allow SpinBox to go over 1600 in OS-X prefs.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a1bd8b94477962ef495117ea161246172ce83859
---

 modules/gui/macosx/prefs_widgets.m |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/macosx/prefs_widgets.m b/modules/gui/macosx/prefs_widgets.m
index 08f994a..01ee64e 100644
--- a/modules/gui/macosx/prefs_widgets.m
+++ b/modules/gui/macosx/prefs_widgets.m
@@ -1441,7 +1441,7 @@
 
         /* build the stepper */
         ADD_STEPPER( o_stepper, mainFrame, mainFrame.size.width - 19,
-            0, o_tooltip, -1600, 1600)
+            0, o_tooltip, -100000, 100000)
         [o_stepper setIntValue: p_item->value.i];
         [o_stepper setAutoresizingMask:NSViewMaxXMargin ];
         [self addSubview: o_stepper];
@@ -1734,7 +1734,7 @@
 
         /* build the stepper */
         ADD_STEPPER( o_stepper, mainFrame, mainFrame.size.width - 19,
-            0, o_tooltip, -1600, 1600)
+            0, o_tooltip, -100000, 100000)
         [o_stepper setFloatValue: p_item->value.f];
         [o_stepper setAutoresizingMask:NSViewMaxXMargin ];
         [self addSubview: o_stepper];




More information about the vlc-devel mailing list