diff options
Diffstat (limited to 'src/utils.c')
-rw-r--r-- | src/utils.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/utils.c b/src/utils.c index 8c69a59..9593a46 100644 --- a/src/utils.c +++ b/src/utils.c @@ -145,9 +145,10 @@ get_desktop_name (void) if (desktop_name == NULL) { xdg_current_desktop = g_getenv ("XDG_CURRENT_DESKTOP"); - if (xdg_current_desktop != NULL) { - desktop_name = g_strsplit (xdg_current_desktop, ":", 0)[0]; - } + if (xdg_current_desktop != NULL) + { + desktop_name = g_strsplit (xdg_current_desktop, ":", 0)[0]; + } } return desktop_name; |