mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-08 05:24:39 +01:00
don't crash when setTitle called with id of 0
This commit is contained in:
parent
b0f7176b6c
commit
14cad646e3
1 changed files with 5 additions and 2 deletions
|
@ -860,8 +860,11 @@ public class LocUtils {
|
|||
@Override
|
||||
public AlertDialog.Builder setTitle( int id )
|
||||
{
|
||||
String str = getString( m_context, id );
|
||||
return setTitle( str );
|
||||
if ( 0 != id ) {
|
||||
String str = getString( m_context, id );
|
||||
setTitle( str );
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
public AlertDialog.Builder setMessage( int textId )
|
||||
|
|
Loading…
Reference in a new issue