summaryrefslogtreecommitdiff
path: root/chess-display.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-15 06:58:52 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-15 06:58:52 +0000
commit1bd7dd39c4af6b7b774b278c6d759ab002744bc8 (patch)
tree151174c8232c1fb66a9e9640edb53bf148caf17b /chess-display.el
parent2ad08a62d61297cb4fad53976b41068e63e3e459 (diff)
*** no comment ***
Diffstat (limited to 'chess-display.el')
-rw-r--r--chess-display.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/chess-display.el b/chess-display.el
index 6c1e6d1..8c0444d 100644
--- a/chess-display.el
+++ b/chess-display.el
@@ -63,8 +63,8 @@
'black-remaining)))
(if (and white black)
(format " W %02d:%02d B %02d:%02d"
- (/ (floor white) 60) (% (floor white) 60)
- (/ (floor black) 60) (% (floor black) 60))))))
+ (/ (floor white) 60) (% (abs (floor white)) 60)
+ (/ (floor black) 60) (% (abs (floor black)) 60))))))
"The format of a chess display's modeline.
See `mode-line-format' for syntax details."
:type 'sexp