diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2011-12-30 15:36:51 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:14:40 +0100 |
commit | ebbfe9cb61e95964df2b0ae52147ac30a0db86cc (patch) | |
tree | 05c03892588fa9146fbc7dc8360d291e7f6d539a | |
parent | 15079bcb2d0b916c2077c18527b82170ce54b52b (diff) |
libmm-common: print modes string with capitals for the acronyms
-rw-r--r-- | libmm-common/mm-common-helpers.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libmm-common/mm-common-helpers.c b/libmm-common/mm-common-helpers.c index 78bcd73b..b9ead4c4 100644 --- a/libmm-common/mm-common-helpers.c +++ b/libmm-common/mm-common-helpers.c @@ -123,11 +123,14 @@ mm_common_get_modes_string (MMModemMode mode) it = it << 1) { if (mode & it) { GFlagsValue *value; + gchar *up; value = g_flags_get_first_value (flags_class, it); + up = g_ascii_strup (value->value_nick, -1); g_string_append_printf (str, "%s%s", first ? "" : ", ", - value->value_nick); + up); + g_free (up); if (first) first = FALSE; |