Commit 4a67627e8b7e2e509f13eafc347af525df5d6bd4

Philipp Wiesemann 2014-10-23T16:38:03

Fixed upper case button in alert dialog for not loaded libraries on Android. This is more consistent with the buttons of other dialogs on Android.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/android-project/src/org/libsdl/app/SDLActivity.java b/android-project/src/org/libsdl/app/SDLActivity.java
index d2a5bd8..af877c4 100644
--- a/android-project/src/org/libsdl/app/SDLActivity.java
+++ b/android-project/src/org/libsdl/app/SDLActivity.java
@@ -124,7 +124,7 @@ public class SDLActivity extends Activity {
             AlertDialog.Builder dlgAlert  = new AlertDialog.Builder(this);
             dlgAlert.setMessage("An error occurred while trying to start the application. Please try again and/or reinstall.");
             dlgAlert.setTitle("SDL Error");
-            dlgAlert.setPositiveButton("EXIT",
+            dlgAlert.setPositiveButton("Exit",
                 new DialogInterface.OnClickListener() {
                     public void onClick(DialogInterface dialog,int id) {
                         // if this button is clicked, close current activity