Changeset 15663

Show
Ignore:
Timestamp:
23.05.2008 11:43:01 (11 years ago)
Author:
mdewsnip
Message:

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

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • 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    }