aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-01-20 00:09:54 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-01-20 00:09:54 +0100
commit86a0700efd926d0481b8518c62b217972fca4045 (patch)
treea5abebe412bbb6d7ee8d01bd936f535d29a02b8b /global-functions.rsc
parent21cf6d49bbc0c3aebba6faa200a1ac125679c236 (diff)
global-functions: $SymbolByUnicodeName: name the parameter
Diffstat (limited to 'global-functions.rsc')
-rw-r--r--global-functions.rsc4
1 files changed, 3 insertions, 1 deletions
diff --git a/global-functions.rsc b/global-functions.rsc
index adfea2e..8552502 100644
--- a/global-functions.rsc
+++ b/global-functions.rsc
@@ -1293,6 +1293,8 @@
# return UTF-8 symbol for unicode name
:set SymbolByUnicodeName do={
+ :local Name [ :tostr $1 ];
+
:local Symbols {
"abacus"="\F0\9F\A7\AE";
"alarm-clock"="\E2\8F\B0";
@@ -1326,7 +1328,7 @@
"white-heavy-check-mark"="\E2\9C\85"
}
- :return (($Symbols->$1) . "\EF\B8\8F");
+ :return (($Symbols->$Name) . "\EF\B8\8F");
}
# return symbol for notification