From 0482291f45a8fa1be8bbfe87e3c8a4eb7f43ddef Mon Sep 17 00:00:00 2001 From: Andrew Hsieh Date: Wed, 19 Dec 2012 11:21:38 +0800 Subject: Fix typo Change-Id: I58f863c4eb1eb4196d001c280027ab59bee51ce4 --- native/graphics/jni/bitmap.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'native') diff --git a/native/graphics/jni/bitmap.cpp b/native/graphics/jni/bitmap.cpp index 51a631f..eaa2cbe 100644 --- a/native/graphics/jni/bitmap.cpp +++ b/native/graphics/jni/bitmap.cpp @@ -52,7 +52,7 @@ int AndroidBitmap_getInfo(JNIEnv* env, jobject jbitmap, break; } } - return ANDROID_BITMAP_RESUT_SUCCESS; + return ANDROID_BITMAP_RESULT_SUCCESS; } int AndroidBitmap_lockPixels(JNIEnv* env, jobject jbitmap, void** addrPtr) { @@ -75,7 +75,7 @@ int AndroidBitmap_lockPixels(JNIEnv* env, jobject jbitmap, void** addrPtr) { if (addrPtr) { *addrPtr = addr; } - return ANDROID_BITMAP_RESUT_SUCCESS; + return ANDROID_BITMAP_RESULT_SUCCESS; } int AndroidBitmap_unlockPixels(JNIEnv* env, jobject jbitmap) { @@ -95,6 +95,6 @@ int AndroidBitmap_unlockPixels(JNIEnv* env, jobject jbitmap) { bm->notifyPixelsChanged(); bm->unlockPixels(); - return ANDROID_BITMAP_RESUT_SUCCESS; + return ANDROID_BITMAP_RESULT_SUCCESS; } -- cgit v1.1