aboutsummaryrefslogtreecommitdiff
path: root/module/vcomponent.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@hornquist.se>2019-10-15 22:06:54 +0200
committerHugo Hörnquist <hugo@hornquist.se>2019-10-15 22:06:54 +0200
commit3554f1b34bb6937cdac6ffc48d8f4d7bf2f4ce3c (patch)
tree96153adb49c951cbd2352256a0f2c940df292eeb /module/vcomponent.scm
parentRemove tailing null from parsed color files. (diff)
downloadcalp-3554f1b34bb6937cdac6ffc48d8f4d7bf2f4ce3c.tar.gz
calp-3554f1b34bb6937cdac6ffc48d8f4d7bf2f4ce3c.tar.xz
Add final fallback for name.
Diffstat (limited to 'module/vcomponent.scm')
-rw-r--r--module/vcomponent.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/vcomponent.scm b/module/vcomponent.scm
index a65ef2d4..31d5b2bf 100644
--- a/module/vcomponent.scm
+++ b/module/vcomponent.scm
@@ -114,7 +114,8 @@
(unless (attr component "NAME")
(set! (attr component "NAME")
(or (attr component "X-WR-CALNAME")
- (attr root "NAME"))))
+ (attr root "NAME")
+ "[NAMELESS]")))
(unless (attr component "COLOR")
(set! (attr component "COLOR")