Permalink
Browse files

Fix more Android platform build warnings

  • Loading branch information...
dottools committed Feb 5, 2018
1 parent fbccd86 commit 236ab4a433a492f0a269f5ca88c217d8e3e2bc04
Showing with 2 additions and 2 deletions.
  1. +1 −1 engine/source/platformAndroid/AndroidInput.cpp
  2. +1 −1 engine/source/platformAndroid/T2DActivity.cpp
@@ -411,7 +411,7 @@ const char* Platform::getClipboard()
//-----------------------------------------------------------------------------
bool Platform::setClipboard(const char *text)
{
return NULL;//no clipboard on Android
return false;//no clipboard on Android
}

#pragma mark ---- Cursor Functions ----
@@ -2678,7 +2678,7 @@ char* _AndroidLoadInternalFile(const char* fn, U32 *size)

lResult=lJavaVM->AttachCurrentThread(&lJNIEnv, &lJavaVMAttachArgs);
if (lResult == JNI_ERR) {
return "";
return NULL;
}

// Retrieves NativeActivity.

0 comments on commit 236ab4a

Please sign in to comment.