From 12932a80f9778108073348d3e2b2fbd30e1fe026 Mon Sep 17 00:00:00 2001 From: Nuno Sa Date: Wed, 20 Dec 2023 10:23:48 +0100 Subject: [PATCH] osc: improve log output in osc_load_glade_file() Add missing new line and improving it by stating that the failure might also be from gtk_builder_add_from_file() failing to load the file and not necessarily by the file not being found. Signed-off-by: Nuno Sa --- osc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc.c b/osc.c index dcfcc540..42d924c9 100644 --- a/osc.c +++ b/osc.c @@ -2897,7 +2897,7 @@ int osc_load_glade_file(GtkBuilder *builder, const char *fname) snprintf(path, sizeof(path), OSC_GLADE_FILE_PATH "%s.glade", fname); if (gtk_builder_add_from_file(builder, path, NULL)) return 0; - fprintf(stderr, "Could not find '%s.glade' file", fname); + fprintf(stderr, "Could not find/load '%s.glade' file\n", fname); return -1; }