fix typos

This commit is contained in:
sonora 2013-06-13 01:10:56 +02:00
parent 779b677551
commit b3455227e7
2 changed files with 3 additions and 2 deletions

View file

@ -266,7 +266,7 @@ public class NavigatePointFragment extends SherlockFragment implements SearchAct
} else {
targetPointsHelper.navigateToPoint(new LatLon(lat, lon), true, targetPointsHelper.getIntermediatePoints().size());
}
IntermediatePointsDialog.openIntermediatePointsDialog(mapActivity);
IntermediatePointsDialog.openIntermediatePointsDialog(getActivity());
MapActivity.launchMapActivityMoveToTop(getActivity());
} else if (mode == SHOW_ON_MAP){
OsmandApplication app = (OsmandApplication) getActivity().getApplication();

View file

@ -1,5 +1,6 @@
package net.osmand.plus.activities.search;
import net.osmand.plus.activities.IntermediatePointsDialog
import java.text.MessageFormat;
@ -303,7 +304,7 @@ public class SearchAddressFragment extends SherlockFragment {
} else {
targetPointsHelper.navigateToPoint(searchPoint, true, targetPointsHelper.getIntermediatePoints().size());
}
IntermediatePointsDialog.openIntermediatePointsDialog(mapActivity);
IntermediatePointsDialog.openIntermediatePointsDialog(getActivity());
MapActivity.launchMapActivityMoveToTop(getActivity());
} else if (mode == SHOW_ON_MAP) {
osmandSettings.setMapLocationToShow(searchPoint.getLatitude(), searchPoint.getLongitude(), zoom, historyName);