Do not match singular stars when given a prefix in star search; bug #1071
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3540 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
Changes towards version 0.7:
|
Changes towards version 0.7:
|
||||||
|
- Do not match singular stars when given a prefix in star search
|
||||||
|
(bug #1071) - Alex
|
||||||
- Preserve character case when editing with joystick (bug #1080) - Alex
|
- Preserve character case when editing with joystick (bug #1080) - Alex
|
||||||
- Fixed misaligned cargo count (bug #1092) - Coredev
|
- Fixed misaligned cargo count (bug #1092) - Coredev
|
||||||
- Fixed the network SuperMelee team configuration protocol - SvdB
|
- Fixed the network SuperMelee team configuration protocol - SvdB
|
||||||
|
|||||||
@@ -975,9 +975,13 @@ FindNextStarIndex (STAR_SEARCH_STATE *pSS, int from, BOOLEAN WithinClust)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!SDPtr->Prefix || WithinClust)
|
if (pSS->Prefix && !SDPtr->Prefix)
|
||||||
// singular star - prefix not checked
|
// we were given a prefix but found a singular star;
|
||||||
// or searching within clusters
|
// that is a no match
|
||||||
|
continue;
|
||||||
|
|
||||||
|
if (WithinClust)
|
||||||
|
// searching within clusters; any prefix is a match
|
||||||
break;
|
break;
|
||||||
|
|
||||||
if (!pSS->Prefix)
|
if (!pSS->Prefix)
|
||||||
|
|||||||
Reference in New Issue
Block a user