blob: ed10dcbc9efe87fb1bd7422085aedc9dee5c0fd6 (
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-af,v 1.2 2001/10/15 22:45:58 skrll Exp $
--- khexedit/optiondialog.cc.orig Mon Dec 11 23:32:34 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 );
|