greenstone.org greenstone wiki greenstone trac planet greenstone

Changeset 15663

Show
Ignore:
Timestamp:
2008-05-23 11:43:01 (6 months ago)
Author:
mdewsnip
Message:

Fixed up a dodgy if statement to avoid a compile warning and probably a runtime bug.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • indexers/trunk/mgpp/text/Queryer.cpp

    r13477 r15663  
    178178        cin >> m; 
    179179        cin.getline(query, 2048, '\n'); // eat up return 
    180         if (4 < m < 512) { 
     180        if (m > 4 && m < 512) { 
    181181          maxnumeric = m; 
    182182        }