am 246d227c
: Fix offdevice full debug build crash
* commit '246d227c5d19549cb00a8ee84e20d09ea00e14f4': Fix offdevice full debug build crash
This commit is contained in:
commit
3157edb752
1 changed files with 4 additions and 4 deletions
|
@ -409,11 +409,11 @@ bool ProximityInfoState::pushTouchPoint(const int inputIndex, const int nodeChar
|
||||||
}
|
}
|
||||||
NearKeysDistanceMap::const_iterator itPP =
|
NearKeysDistanceMap::const_iterator itPP =
|
||||||
prevNearKeysDistances->find(minChar);
|
prevNearKeysDistances->find(minChar);
|
||||||
|
if (itPP != prevNearKeysDistances->end() && minDist > itPP->second) {
|
||||||
if (DEBUG_GEO_FULL) {
|
if (DEBUG_GEO_FULL) {
|
||||||
AKLOGI("p1: char = %c, minDist = %f, prevNear key minDist = %f",
|
AKLOGI("p1: char = %c, minDist = %f, prevNear key minDist = %f",
|
||||||
minChar, itPP->second, minDist);
|
minChar, itPP->second, minDist);
|
||||||
}
|
}
|
||||||
if (itPP != prevNearKeysDistances->end() && minDist > itPP->second) {
|
|
||||||
return popped;
|
return popped;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue