Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiraoka committed Oct 17, 2020
1 parent bf96dcc commit 33cb711
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/featurecat/lizzie/analysis/Leelaz.java
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,7 @@ public boolean supportScoremean() {
return isKataGo || supportScoremean;
}

public String nicknameOrcurrentWeight() {
public String nicknameOrCurrentWeight() {
return (engineNickname == null) ? currentWeight : engineNickname;
}

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/featurecat/lizzie/gui/Menu.java
Original file line number Diff line number Diff line change
Expand Up @@ -1384,8 +1384,8 @@ public void updateEngineMenu(List<Leelaz> engineList) {
engine[i].setVisible(false);
Leelaz engineDt = engineList.get(i);
if (engineDt != null) {
if (engineDt.currentWeight() != "")
engine[i].setText(engine[i].getText() + " : " + engineDt.nicknameOrcurrentWeight());
if (engineDt.nicknameOrCurrentWeight() != "")
engine[i].setText(engine[i].getText() + " : " + engineDt.nicknameOrCurrentWeight());
engine[i].setVisible(true);
int a = i;
engine[i].addActionListener(
Expand Down

0 comments on commit 33cb711

Please sign in to comment.