Fix typos
This commit is contained in:
@@ -375,7 +375,7 @@ jlong JNICALL nativeGetDefaultTransitionDuration(JNIEnv* env, jobject obj, jlong
|
||||
mbgl::Log::Debug(mbgl::Event::JNI, "nativeGetDefaultTransitionDuration");
|
||||
assert(native_map_view_ptr != 0);
|
||||
NativeMapView* native_map_view = reinterpret_cast<NativeMapView*>(native_map_view_ptr);
|
||||
jlong ret = 0.0;
|
||||
jlong ret = 0;
|
||||
COFFEE_TRY_JNI(env, ret = native_map_view->getMap().getDefaultTransitionDuration());
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -440,7 +440,7 @@ void Map::setStyleJSON(std::string newStyleJSON, const std::string &base) {
|
||||
|
||||
style->setDefaultTransitionDuration(defaultTransitionDuration);
|
||||
|
||||
// set applied classes if theys were set while the style was loading
|
||||
// set applied classes if they were set while the style was loading
|
||||
appliedClassesMutex.lock();
|
||||
util::ptr<std::vector<std::string>> classes = appliedClasses;
|
||||
if (appliedClasses) {
|
||||
|
||||
Reference in New Issue
Block a user