DroidFish: Fixed bug in engine title display.

This commit is contained in:
Peter Osterlund 2012-01-07 08:46:15 +00:00
parent 42a71b0ec5
commit ac10ab3017

View File

@ -648,7 +648,7 @@ public class DroidFish extends Activity implements GUIInterface {
String eName = engine.substring(idx + 1);
titleText.setText(eName);
} else {
String eName = getString((engine == "cuckoochess") ?
String eName = getString(engine.equals("cuckoochess") ?
R.string.cuckoochess_engine :
R.string.stockfish_engine);
if (strength < 1000) {