projects
/
remoteglot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bf6d89
)
Another sign inversion...
author
Steinar H. Gunderson
<sgunderson@bigfoot.com>
Thu, 21 Nov 2013 19:03:21 +0000
(20:03 +0100)
committer
Steinar H. Gunderson
<sgunderson@bigfoot.com>
Thu, 21 Nov 2013 19:03:21 +0000
(20:03 +0100)
remoteglot.pl
patch
|
blob
|
history
diff --git
a/remoteglot.pl
b/remoteglot.pl
index
313ccbe
..
e1da304
100755
(executable)
--- a/
remoteglot.pl
+++ b/
remoteglot.pl
@@
-1144,9
+1144,9
@@
sub score_sort_key {
if (defined($info->{'score_mate' . $mpv})) {
if ($invert) {
- return -(99999 - $info->{'score_mate' . $mpv});
- } else {
return 99999 - $info->{'score_mate' . $mpv};
+ } else {
+ return -(99999 - $info->{'score_mate' . $mpv});
}
} else {
if (exists($info->{'score_cp' . $mpv})) {