From 2f604bfa9a33a43854fc2ac4f66b4defffd803f6 Mon Sep 17 00:00:00 2001 From: Rangi Date: Fri, 3 Jul 2026 13:08:28 -0400 Subject: [PATCH] Fix error message when an rgbgfx output file cannot be created --- src/gfx/process.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gfx/process.cpp b/src/gfx/process.cpp index c963ee96..6af0203e 100644 --- a/src/gfx/process.cpp +++ b/src/gfx/process.cpp @@ -691,7 +691,7 @@ static void outputUnoptimizedMaps( file.emplace(); if (!file->open(path, std::ios_base::out | std::ios_base::binary)) { // LCOV_EXCL_START - fatal("Failed to create \"%s\": %s", file->c_str(options.tilemap), strerror(errno)); + fatal("Failed to create \"%s\": %s", file->c_str(path), strerror(errno)); // LCOV_EXCL_STOP } }