mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +01:00
fix compiler-found (but trivial) error
debian's new compiler rocks. Effected only test code I never use, but still nice to fix.
This commit is contained in:
parent
c9a86a23e0
commit
2cabf2332c
1 changed files with 1 additions and 1 deletions
|
@ -1577,7 +1577,7 @@ parsePair( const char* optarg, XP_U16* min, XP_U16* max )
|
||||||
} else {
|
} else {
|
||||||
int intmin, intmax;
|
int intmin, intmax;
|
||||||
if ( 2 == sscanf( optarg, "%d:%d", &intmin, &intmax ) ) {
|
if ( 2 == sscanf( optarg, "%d:%d", &intmin, &intmax ) ) {
|
||||||
if ( intmin <= intmin ) {
|
if ( intmin <= intmax ) {
|
||||||
*min = intmin;
|
*min = intmin;
|
||||||
*max = intmax;
|
*max = intmax;
|
||||||
success = true;
|
success = true;
|
||||||
|
|
Loading…
Reference in a new issue