Permalink
Browse files

extra debugging thing for visual studio

I think this prevents random "exited with code 3" errors, but I can't remember ...
  • Loading branch information...
jacob1 committed Apr 23, 2016
1 parent 5cab8f4 commit 6b6bd67a9f781c7c6bd4f9d25f8f8fc22d7ec3b2
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/PowderToySDL.cpp
@@ -953,6 +953,9 @@ void SigHandler(int signal)
int main(int argc, char * argv[])
{
#if defined(_DEBUG) && defined(_MSC_VER)
_CrtSetReportMode(_CRT_ASSERT, _CRTDBG_MODE_DEBUG);
#endif
currentWidth = WINDOWW;
currentHeight = WINDOWH;

0 comments on commit 6b6bd67

Please sign in to comment.