From 390f12a17cb27b9976ff933d4f0d6883c701b187 Mon Sep 17 00:00:00 2001 From: Jorijn van der Graaf Date: Sun, 1 Mar 2026 15:47:13 +0100 Subject: [PATCH] windows build fixes --- implementations/Crafter.Build-Command.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/implementations/Crafter.Build-Command.cpp b/implementations/Crafter.Build-Command.cpp index 0500bbc..2ee90df 100644 --- a/implementations/Crafter.Build-Command.cpp +++ b/implementations/Crafter.Build-Command.cpp @@ -105,7 +105,7 @@ namespace Crafter { std::filesystem::path GetPath() { char path[MAX_PATH]; DWORD length = GetModuleFileNameA(NULL, path, MAX_PATH); - std::cout << lenght << std::endl; + std::cout << length << std::endl; if (length == 0) { std::cout << "failed" << std::endl; throw std::runtime_error("Failed to get executable path");