From f0d90f05760db80a606fe5557c156597c0d2de94 Mon Sep 17 00:00:00 2001 From: Andy2 Date: Thu, 24 Feb 2011 07:39:35 -0800 Subject: [PATCH] get rid of cute auto-array-creation. No behavior change; maybe no change in generated code. --- .../android/XWords4/src/org/eehouse/android/xw4/Toolbar.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/Toolbar.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/Toolbar.java index d1090cac0..e7fcee11f 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/Toolbar.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/Toolbar.java @@ -36,8 +36,8 @@ import org.eehouse.android.xw4.jni.*; public class Toolbar { private static class TBButtonInfo { - public TBButtonInfo( int... ids ) { - m_ids = ids; + public TBButtonInfo( int idHor, int idVert ) { + m_ids = new int[] { idHor, idVert }; } public int m_ids[]; }