mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-09 05:24:44 +01:00
oops: use the first *remote* address
This commit is contained in:
parent
320db700a9
commit
37a853c8a4
1 changed files with 3 additions and 4 deletions
|
@ -1485,11 +1485,10 @@ public class BoardDelegate extends DelegateBase
|
||||||
|
|
||||||
public void onStatusClicked()
|
public void onStatusClicked()
|
||||||
{
|
{
|
||||||
CommsAddrRec addr = new CommsAddrRec();
|
CommsAddrRec[] addrs = XwJNI.comms_getAddrs( m_jniGamePtr );
|
||||||
XwJNI.comms_getAddr( m_jniGamePtr, addr );
|
|
||||||
|
|
||||||
final String msg = ConnStatusHandler
|
final String msg = ConnStatusHandler
|
||||||
.getStatusText( m_activity, m_connTypes, addr );
|
.getStatusText( m_activity, m_connTypes, addrs[0] );
|
||||||
|
|
||||||
post( new Runnable() {
|
post( new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
|
|
Loading…
Reference in a new issue