projects
/
elisp
/
gnus.git-
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fa1920
)
(gnus-xmas-group-startup-message): Don't use negative number for the 2nd arg
author
yamaoka
<yamaoka>
Wed, 6 Oct 1999 22:43:39 +0000
(22:43 +0000)
committer
yamaoka
<yamaoka>
Wed, 6 Oct 1999 22:43:39 +0000
(22:43 +0000)
of `insert-char'.
lisp/gnus-xmas.el
patch
|
blob
|
history
diff --git
a/lisp/gnus-xmas.el
b/lisp/gnus-xmas.el
index
2aed9fd
..
7083077
100644
(file)
--- a/
lisp/gnus-xmas.el
+++ b/
lisp/gnus-xmas.el
@@
-625,8
+625,9
@@
the resulting string may be narrower than END-COLUMN.
`[xbm :file ,logo-xbm])
(t [nothing]))))
(wpheight (window-pixel-height))
- (rest (1- (/ (* (- wpheight (glyph-height glyph)) (window-height))
- wpheight 2))))
+ (rest (max 0 (1- (/ (* (- wpheight (glyph-height glyph))
+ (window-height))
+ wpheight 2)))))
(insert " ")
(set-extent-begin-glyph (make-extent (point) (point)) glyph)
(goto-char (point-min))