mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-03 23:04:08 +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 {
|
||||
int intmin, intmax;
|
||||
if ( 2 == sscanf( optarg, "%d:%d", &intmin, &intmax ) ) {
|
||||
if ( intmin <= intmin ) {
|
||||
if ( intmin <= intmax ) {
|
||||
*min = intmin;
|
||||
*max = intmax;
|
||||
success = true;
|
||||
|
|
Loading…
Reference in a new issue