From 89d2d0b981a1400447d432ddb38ff7fe84b5b7ca Mon Sep 17 00:00:00 2001 From: scottbeebiwan <38970930+scottbeebiwan@users.noreply.github.com> Date: Sat, 7 Jul 2018 12:53:50 -0700 Subject: [PATCH] did you know im fucking stupid --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 03d9604..aed855b 100644 --- a/main.cpp +++ b/main.cpp @@ -1634,7 +1634,7 @@ int main(int argc, char** argv) { if(hwndMain == NULL) { - MessageBox(NULL, "Failed to create HWND",placeholderName+" Crash", MB_OK); + MessageBox(NULL, "Failed to create HWND",(PlaceholderName+" Crash").c_str(), MB_OK); return 0; } SendMessage(hwndMain, WM_SETICON, ICON_BIG,(LPARAM)LoadImage(GetModuleHandle(NULL), (LPCSTR)MAKEINTRESOURCEW(IDI_ICON1), IMAGE_ICON, 0, 0, LR_DEFAULTCOLOR | LR_DEFAULTSIZE));