Correctly spell "GNU Chess"
This commit is contained in:
parent
0f0cec8a29
commit
1ae54858fb
2 changed files with 5 additions and 1 deletions
|
@ -73,7 +73,7 @@ binary=glaurung
|
|||
uci-go-option-easy-0=depth 2
|
||||
uci-go-option-normal-0=depth 3
|
||||
|
||||
[GNUchess]
|
||||
[GNU Chess]
|
||||
protocol=uci
|
||||
binary=gnuchess
|
||||
arg-easy-0=--uci
|
||||
|
|
|
@ -585,6 +585,10 @@ public class Application : Gtk.Application
|
|||
if (name == "human")
|
||||
return null;
|
||||
|
||||
/* Backwards compatibility with our old spelling of GNU Chess */
|
||||
if (name == "GNUchess")
|
||||
name = "GNU Chess";
|
||||
|
||||
foreach (var p in ai_profiles)
|
||||
{
|
||||
if (name == "" || p.name == name)
|
||||
|
|
Loading…
Reference in a new issue