aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sx-question-print.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/sx-question-print.el b/sx-question-print.el
index fe1e2b0..98d3308 100644
--- a/sx-question-print.el
+++ b/sx-question-print.el
@@ -289,11 +289,11 @@ The comment is indented, filled, and then printed according to
(sx--wrap-in-overlay
(list 'sx--data-here comment-data)
(sx-assoc-let comment-data
- (when (> .score 0)
+ (when (and (numberp .score) (> .score 0))
(insert (number-to-string .score)
(if (eq .upvoted t) "^" "")
" "))
- (insert
+ (insert
(format
sx-question-mode-comments-format
(sx-question-mode--propertize-display-name .owner)