Fix offdevice full debug build crash

Change-Id: I7640863738d1548f7d9cf4b95c4a0d896eb667d7
main
Ken Wakasa 2012-09-19 01:23:45 +09:00
parent b686df15fc
commit 246d227c5d
1 changed files with 4 additions and 4 deletions

View File

@ -409,11 +409,11 @@ bool ProximityInfoState::pushTouchPoint(const int inputIndex, const int nodeChar
}
NearKeysDistanceMap::const_iterator itPP =
prevNearKeysDistances->find(minChar);
if (itPP != prevNearKeysDistances->end() && minDist > itPP->second) {
if (DEBUG_GEO_FULL) {
AKLOGI("p1: char = %c, minDist = %f, prevNear key minDist = %f",
minChar, itPP->second, minDist);
}
if (itPP != prevNearKeysDistances->end() && minDist > itPP->second) {
return popped;
}
}