summaryrefslogtreecommitdiff
path: root/modules/computer.c
diff options
context:
space:
mode:
authorLeandro Pereira <leandro@hardinfo.org>2018-05-18 08:13:53 -0700
committerLeandro Pereira <leandro@hardinfo.org>2018-05-18 08:13:53 -0700
commit28c2090f37f0b230ce786b85f281648afcceb8f5 (patch)
tree6ca5ee5e4f9064669a47ef3751bf33037a153344 /modules/computer.c
parent6dfda529f4bde07cdda52a62c30eeda4cdd9eb17 (diff)
Fix compiler warnings generated with GCC 8
Diffstat (limited to 'modules/computer.c')
-rw-r--r--modules/computer.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/computer.c b/modules/computer.c
index 08d64720..0b75d7d8 100644
--- a/modules/computer.c
+++ b/modules/computer.c
@@ -588,11 +588,12 @@ gchar *callback_display(void)
struct Info *info = info_new();
info_add_group(info, _("Session"),
- info_field(_("Type"), THISORUNK(computer->display->session_type) ),
+ info_field(_("Type"), THISORUNK(computer->display->session_type)),
info_field_last());
info_add_group(info, _("Wayland"),
- info_field(_("Current Display Name"), (wl->display_name) ? (wl->display_name) : _("(Not Available)") ),
+ info_field(_("Current Display Name"),
+ (wl->display_name) ? (wl->display_name) : _("(Not Available)")),
info_field_last());
info_add_group(info, _("X Server"),