Ignore:
Timestamp:
2004-12-01T13:53:37+13:00 (19 years ago)
Author:
kjdon
Message:

fized a bug with phrase searching onn segmented collections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/querytools.cpp

    r8357 r8715  
    177177      (*here >= 0xf900 && *here <= 0xfa2d)) {
    178178    // Chinese character
    179     if (space) formattedstring.push_back (0x200b);
     179    if (!space) formattedstring.push_back (0x200b); // zero width space
    180180    formattedstring.push_back (*here);
    181181    formattedstring.push_back (0x200b);
    182182    space = true;
    183183      } else {
     184   
    184185    // non-Chinese character
    185186    formattedstring.push_back (*here);
    186187    space = false;
     188   
    187189      }
    188190   
Note: See TracChangeset for help on using the changeset viewer.