mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-15 15:41:24 +01:00
change confusing const name
This commit is contained in:
parent
8c7043d42c
commit
64a8b1e61a
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue