From 6018e9f4f0b4ad007c0dc3d925b027d587034b88 Mon Sep 17 00:00:00 2001 From: sam-astro <77079540+sam-astro@users.noreply.github.com> Date: Sat, 15 Jan 2022 23:01:54 -0500 Subject: [PATCH] Devmode and things to get linux version working --- Slang/Main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Slang/Main.cpp b/Slang/Main.cpp index a44d755..c7f2663 100644 --- a/Slang/Main.cpp +++ b/Slang/Main.cpp @@ -26,7 +26,7 @@ #include "SLB.h" -#define DEVELOPER_MESSAGES false +#define DEVELOPER_MESSAGES true #define EXAMPLE_PROJECT false using namespace std; @@ -647,7 +647,7 @@ int main(int argc, char* argv[]) #if defined(__unix__) chdir(projectDirectory.c_str()); #elif defined(_MSC_VER) - LPCSTR s = projectDirectory.c_str(); + LPCWSTR s = wide.c_str(); SetCurrentDirectory(s); #endif