aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo2/menu.c')
-rw-r--r--hardinfo2/menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hardinfo2/menu.c b/hardinfo2/menu.c
index 09ced371..61bde7bd 100644
--- a/hardinfo2/menu.c
+++ b/hardinfo2/menu.c
@@ -108,7 +108,7 @@ void menu_init(Shell *shell)
/* Read in the UI from our XML file */
error = NULL;
- uidefs_path = g_strdup_printf("%s/hardinfo/uidefs.xml", path_data);
+ uidefs_path = g_build_filename(path_data, "uidefs.xml", NULL);
gtk_ui_manager_add_ui_from_file(menu_manager, uidefs_path, &error);
g_free(uidefs_path);