mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2024-11-27 06:10:28 +01:00
DroidFish: Avoid empty lines in engine thinking information.
This commit is contained in:
parent
c1ab57b4f9
commit
6cd29a0353
|
@ -947,11 +947,15 @@ public class DroidFish extends Activity implements GUIInterface {
|
|||
String s = "";
|
||||
if (mShowThinking || gameMode.analysisMode()) {
|
||||
s = thinkingStr1;
|
||||
if (mShowStats)
|
||||
s += "\n" + thinkingStr2;
|
||||
if (s.length() > 0) thinkingEmpty = false;
|
||||
if (mShowStats) {
|
||||
if (!thinkingEmpty)
|
||||
s += "\n";
|
||||
s += thinkingStr2;
|
||||
if (s.length() > 0) thinkingEmpty = false;
|
||||
}
|
||||
}
|
||||
thinking.setText(s, TextView.BufferType.SPANNABLE);
|
||||
if (s.length() > 0) thinkingEmpty = false;
|
||||
}
|
||||
if (mShowBookHints && (bookInfoStr.length() > 0)) {
|
||||
String s = "";
|
||||
|
|
Loading…
Reference in New Issue
Block a user