From d35165bd8ea4e91d623dffd80474e7ccf326443d Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Tue, 15 Oct 2024 21:54:04 -0400 Subject: [PATCH] Correct parameter usage. --- OSBindings/SDL/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OSBindings/SDL/main.cpp b/OSBindings/SDL/main.cpp index 309eb725a..2231268c8 100644 --- a/OSBindings/SDL/main.cpp +++ b/OSBindings/SDL/main.cpp @@ -446,7 +446,7 @@ std::string final_path_component(const std::string &path) { std::string system_get(const char *command) { struct pcloser { void operator()(FILE *file) { - pclose(dir); + pclose(file); } }; std::unique_ptr pipe(popen(command, "r"));