aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/common.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common.vala b/lib/common.vala
index 0e4e58e3..2c197c7b 100644
--- a/lib/common.vala
+++ b/lib/common.vala
@@ -5,9 +5,9 @@ string get_abbreviation (string name) {
if (name.get_next_char (ref index, out first)) {
if (name.get_next_char (ref index, out second)) {
- return @"$(first.toupper ())$second";
+ return @"$((!) first.toupper ().to_string ())$((!) second.to_string ())";
} else {
- return @"$(first.toupper ())";
+ return (!) first.toupper ().to_string ();
}
} else {
return "";