mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-26 07:58:52 +01:00
let the compiler build the arrays for me
This commit is contained in:
parent
6946cbc499
commit
b5bf895874
1 changed files with 2 additions and 2 deletions
|
@ -35,8 +35,8 @@ import org.eehouse.android.xw4.jni.*;
|
|||
public class Toolbar {
|
||||
|
||||
private static class TBButtonInfo {
|
||||
public TBButtonInfo( int horID, int vertID ) {
|
||||
m_ids = new int[] { horID, vertID };
|
||||
public TBButtonInfo( int... ids ) {
|
||||
m_ids = ids;
|
||||
}
|
||||
public int m_ids[];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue