Ignore:
Timestamp:
2004-05-25T11:03:31+12:00 (20 years ago)
Author:
mdewsnip
Message:

(Human Info) Use the SetCStr-with-size-hint method.

File:
1 edited

Legend:

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

    r7384 r7415  
    454454  // set up the query object
    455455  QueryInfo queryInfo;
    456   SetCStr (queryInfo.docLevel, "Document");
     456  SetCStr (queryInfo.docLevel, "Document", 8);
    457457  queryInfo.maxDocs = 5;
    458458  queryInfo.sortByRank = true;
     
    502502  UCArray text;
    503503  UCArray docLevel;
    504   SetCStr(docLevel, "Document");
     504  SetCStr(docLevel, "Document", 8);
    505505
    506506  // Look the word up in the textData
     
    681681  UCArray text;
    682682  UCArray docLevel;
    683   SetCStr(docLevel, "Document");
     683  SetCStr(docLevel, "Document", 8);
    684684
    685685  // Look the word up in the textData
     
    907907  UCArray text;
    908908  UCArray docLevel;
    909   SetCStr(docLevel, "Document");
     909  SetCStr(docLevel, "Document", 8);
    910910
    911911  // Look the word up in the textData
Note: See TracChangeset for help on using the changeset viewer.