blob: 57af6652da8e6828cd5c4c37fd6220b5d760b844 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-ad,v 1.1.1.1 2001/03/14 16:05:48 skrll Exp $
--- khexedit/optiondialog.cc.orig Wed Dec 13 18:28:04 2000
+++ khexedit/optiondialog.cc
@@ -24,7 +24,7 @@
#include <qvbuttongroup.h>
-#include <values.h>
+#include <limits.h>
#include <qbuttongroup.h>
#include <qcheckbox.h>
@@ -495,7 +495,7 @@
mMisc.thresholdSpin = new QSpinBox( page );
mMisc.thresholdSpin->setMinimumWidth( fontMetrics().width("M") * 10 );
- mMisc.thresholdSpin->setRange( 5, MAXINT );
+ mMisc.thresholdSpin->setRange( 5, INT_MAX );
mMisc.thresholdSpin->setSteps( 5, 5 );
mMisc.thresholdSpin->setValue( 5 );
|