From a4cb17820c2527b9d412905be649569f9e36faad Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 2 May 2018 20:21:51 -0400 Subject: [PATCH] Forgot a fix (thanks to two people on Telegram) --- windows/_rc2bin/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/_rc2bin/main.cpp b/windows/_rc2bin/main.cpp index 0b90361e..2143fc80 100644 --- a/windows/_rc2bin/main.cpp +++ b/windows/_rc2bin/main.cpp @@ -55,7 +55,7 @@ void dumpResource(const char *constname, const WCHAR *name, const WCHAR *type) if (j != 0) printf("\n"); printf("};\n"); - printf("static_assert(ARRAYSIZE(%s) == %I32d, \"wrong size for resource %s\")\n", constname, n, constname); + printf("static_assert(ARRAYSIZE(%s) == %I32d, \"wrong size for resource %s\");\n", constname, n, constname); printf("\n"); }