diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-01-06 14:07:46 -0200 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-01-06 14:07:46 -0200 |
commit | 1874b560599f5937c7f9301057a18665a3840150 (patch) | |
tree | d2fb208a451b292901f50c00de743eaa38186155 | |
parent | 7db38cdcfbcac58722012049aceb365cf8c83d76 (diff) |
HOTFIX. Don't assume the shallow_user has display_name nor reputation.
Fix #206
-rw-r--r-- | sx-question-list.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sx-question-list.el b/sx-question-list.el index c72dc0d..1b7fe5a 100644 --- a/sx-question-list.el +++ b/sx-question-list.el @@ -184,8 +184,8 @@ Also see `sx-question-list-refresh'." " " (let-alist .owner (format "%15s %5s" - (propertize .display_name 'face 'sx-question-list-user) - (propertize (number-to-string .reputation) + (propertize (or .display_name "") 'face 'sx-question-list-user) + (propertize (number-to-string (or .reputation 0)) 'face 'sx-question-list-reputation))) (propertize " " 'display "\n"))))))) |