diff options
Diffstat (limited to 'misc/kdeutils2/patches/patch-ad')
-rw-r--r-- | misc/kdeutils2/patches/patch-ad | 56 |
1 files changed, 41 insertions, 15 deletions
diff --git a/misc/kdeutils2/patches/patch-ad b/misc/kdeutils2/patches/patch-ad index 57af6652da8..3c1e2f0527d 100644 --- a/misc/kdeutils2/patches/patch-ad +++ b/misc/kdeutils2/patches/patch-ad @@ -1,22 +1,48 @@ -$NetBSD: patch-ad,v 1.1.1.1 2001/03/14 16:05:48 skrll Exp $ +$NetBSD: patch-ad,v 1.2 2001/10/15 22:45:58 skrll Exp $ ---- khexedit/optiondialog.cc.orig Wed Dec 13 18:28:04 2000 -+++ khexedit/optiondialog.cc -@@ -24,7 +24,7 @@ - #include <qvbuttongroup.h> - +--- khexedit/dialog.cc.orig Tue Aug 1 17:06:40 2000 ++++ khexedit/dialog.cc +@@ -1,6 +1,6 @@ + /* + * khexedit - Versatile hex editor +- * Copyright (C) 1999 Espen Sand, espensa@online.no ++ * Copyright (C) 1999 Eepen Sand, espensa@online.no + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by +@@ -20,7 +20,7 @@ + #include <ctype.h> + #include <iostream.h> -#include <values.h> +#include <limits.h> - #include <qbuttongroup.h> - #include <qcheckbox.h> -@@ -495,7 +495,7 @@ + #include <qbuttongroup.h> + #include <qfileinfo.h> +@@ -940,7 +940,7 @@ + mGroupSpin = new QSpinBox( page ); + if( mGroupSpin == 0 ) { return; } + mGroupSpin->setMinimumWidth( fontMetrics().width("M")*20 ); +- mGroupSpin->setRange(1, MAXINT ); ++ mGroupSpin->setRange(1, INT_MAX ); - 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 ); + text = i18n("&Group size [bytes]"); + QLabel *label = new QLabel( mGroupSpin, text, page ); +@@ -952,7 +952,7 @@ + mBitSpin = new QSpinBox( page ); + if( mBitSpin == 0 ) { return; } + mBitSpin->setMinimumWidth( fontMetrics().width("M")*20 ); +- mBitSpin->setRange(-MAXINT, MAXINT); ++ mBitSpin->setRange(INT_MIN, INT_MAX); + text = i18n("S&hift size [bits]"); + label = new QLabel( mBitSpin, text, page ); +@@ -1098,7 +1098,7 @@ + mSizeBox = new QSpinBox( plainPage() ); + if( mSizeBox == 0 ) { return; } + mSizeBox->setMinimumWidth( fontMetrics().maxWidth()*17 ); +- mSizeBox->setRange( 1, MAXINT ); ++ mSizeBox->setRange( 1, INT_MAX ); + mSizeBox->setValue( 1 ); + + QLabel *label = new QLabel( mSizeBox, i18n("&Size"), plainPage() ); |