[Igarden-commit] Garden/source/SourceMaterialDB SourceQuery.cpp, 1.19.2.5, 1.19.2.6
Status: Beta
Brought to you by:
jlbedell
|
From: Jeffrey B. <jlb...@us...> - 2008-05-13 12:19:39
|
Update of /cvsroot/igarden/Garden/source/SourceMaterialDB In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv4129/source/SourceMaterialDB Modified Files: Tag: Release_branch_v1 SourceQuery.cpp Log Message: Handle caase where query doesn't care about the type of material Index: SourceQuery.cpp =================================================================== RCS file: /cvsroot/igarden/Garden/source/SourceMaterialDB/SourceQuery.cpp,v retrieving revision 1.19.2.5 retrieving revision 1.19.2.6 diff -C2 -d -r1.19.2.5 -r1.19.2.6 *** SourceQuery.cpp 13 May 2008 03:22:20 -0000 1.19.2.5 --- SourceQuery.cpp 13 May 2008 12:19:40 -0000 1.19.2.6 *************** *** 251,255 **** testMType = 0; ! if((keyMType == testMType) && (keyMType != 0)) { percent = oneItem->PercentageMatchInKey(this); --- 251,255 ---- testMType = 0; ! if((keyMType == testMType) || (keyMType == 0)) { percent = oneItem->PercentageMatchInKey(this); |