OSDN Git Service

Fixing a typo in the android plugin api.
authorDerek Sollenberger <djsollen@google.com>
Tue, 7 Jul 2009 15:16:06 +0000 (11:16 -0400)
committerDerek Sollenberger <djsollen@google.com>
Tue, 7 Jul 2009 15:26:38 +0000 (11:26 -0400)
samples/BrowserPlugin/jni/form/FormPlugin.cpp

index 0fdcfd0..29c70c7 100644 (file)
@@ -210,8 +210,9 @@ int16 FormPlugin::handleEvent(const ANPEvent* evt) {
             break;
 
         case kLifecycle_ANPEventType:
-            if (evt->data.lifecycle.action == kLooseFocus_ANPLifecycleAction) {
+            if (evt->data.lifecycle.action == kLoseFocus_ANPLifecycleAction) {
                 gLogI.log(instance, kDebug_ANPLogType, "----%p Loosing Focus", instance);
+
                 if (m_activeInput) {
                     // hide the keyboard
                     gWindowI.showKeyboard(instance, false);