From 41000cc3a8fc4916230b2a3d27e815108130df50 Mon Sep 17 00:00:00 2001 From: Norihiro Kamae Date: Fri, 8 Nov 2024 12:30:20 +0900 Subject: [PATCH] Fix log message not showing effect file name if the file was not found --- src/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.c b/src/util.c index 5fa3c7a..9869ccd 100644 --- a/src/util.c +++ b/src/util.c @@ -7,7 +7,7 @@ gs_effect_t *create_effect_from_module_file(const char *basename) char *f = obs_module_file(basename); gs_effect_t *effect = gs_effect_create_from_file(f, NULL); if (!effect) - blog(LOG_ERROR, "Cannot load '%s'", f); + blog(LOG_ERROR, "Cannot load '%s' '%s'", basename, f); bfree(f); return effect; }