浏览代码

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.
Philipp Wiesemann 11 年之前
父节点
当前提交
4a67627e8b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      android-project/src/org/libsdl/app/SDLActivity.java

+ 1 - 1
android-project/src/org/libsdl/app/SDLActivity.java

@@ -124,7 +124,7 @@ public class SDLActivity extends Activity {
             AlertDialog.Builder dlgAlert  = new AlertDialog.Builder(this);
             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.setMessage("An error occurred while trying to start the application. Please try again and/or reinstall.");
             dlgAlert.setTitle("SDL Error");
             dlgAlert.setTitle("SDL Error");
-            dlgAlert.setPositiveButton("EXIT",
+            dlgAlert.setPositiveButton("Exit",
                 new DialogInterface.OnClickListener() {
                 new DialogInterface.OnClickListener() {
                     public void onClick(DialogInterface dialog,int id) {
                     public void onClick(DialogInterface dialog,int id) {
                         // if this button is clicked, close current activity
                         // if this button is clicked, close current activity