Fix offdevice full debug build crash

Change-Id: I7640863738d1548f7d9cf4b95c4a0d896eb667d7
This commit is contained in:
Ken Wakasa 2012-09-19 01:23:45 +09:00
parent b686df15fc
commit 246d227c5d

View file

@ -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 (DEBUG_GEO_FULL) {
AKLOGI("p1: char = %c, minDist = %f, prevNear key minDist = %f",
minChar, itPP->second, minDist);
}
if (itPP != prevNearKeysDistances->end() && minDist > itPP->second) { 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);
}
return popped; return popped;
} }
} }