diff options
author | William Hua <william.hua@canonical.com> | 2013-06-21 16:23:18 -0400 |
---|---|---|
committer | William Hua <william.hua@canonical.com> | 2013-06-21 16:23:18 -0400 |
commit | bba9546d3b6270348f3dba1d9788782182536035 (patch) | |
tree | b786c9de026145daebce66974dc3b923859c160f /lib | |
parent | b7c785a8f7b5c071c6a55419286cb24d19735331 (diff) | |
download | ayatana-indicator-keyboard-bba9546d3b6270348f3dba1d9788782182536035.tar.gz ayatana-indicator-keyboard-bba9546d3b6270348f3dba1d9788782182536035.tar.bz2 ayatana-indicator-keyboard-bba9546d3b6270348f3dba1d9788782182536035.zip |
Icon generator enable experimental non-null.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/common.vala | 4 |
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 ""; |