change confusing const name

This commit is contained in:
Andy2 2010-10-29 20:20:25 -07:00
parent 8c7043d42c
commit 64a8b1e61a
2 changed files with 3 additions and 3 deletions

View file

@ -471,7 +471,7 @@ public class BoardActivity extends XWActivity implements UtilCtxt {
// cmd = JNIThread.JNICmd.CMD_FLIP;
// break;
case R.id.board_menu_trade:
cmd = JNIThread.JNICmd.CMD_TOGGLE_TRADE;
cmd = JNIThread.JNICmd.CMD_TRADE;
break;
case R.id.board_menu_tray:
cmd = JNIThread.JNICmd.CMD_TOGGLE_TRAY;

View file

@ -61,7 +61,7 @@ public class JNIThread extends Thread {
CMD_JUGGLE,
CMD_FLIP,
CMD_TOGGLE_TRAY,
CMD_TOGGLE_TRADE,
CMD_TRADE,
CMD_UNDO_CUR,
CMD_UNDO_LAST,
CMD_HINT,
@ -365,7 +365,7 @@ public class JNIThread extends Thread {
case CMD_TOGGLE_TRAY:
draw = toggleTray();
break;
case CMD_TOGGLE_TRADE:
case CMD_TRADE:
draw = XwJNI.board_beginTrade( m_jniGamePtr );
break;
case CMD_UNDO_CUR: