]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/debug.cpp
disabled farmesh in default settings
[dragonfireclient.git] / src / debug.cpp
index ec23235cbd817d88bbd340b00bba661a47dceb29..a19186232a5b8d6e735b2db172ff5c7044135b0d 100644 (file)
@@ -90,6 +90,7 @@ DebugStack::DebugStack(threadid_t id)
        threadid = id;
        stack_i = 0;
        stack_max_i = 0;
+       memset(stack, 0, DEBUG_STACK_SIZE*DEBUG_STACK_TEXT_SIZE);
 }
 
 void DebugStack::print(FILE *file, bool everything)
@@ -197,7 +198,7 @@ DebugStacker::~DebugStacker()
 }
 
 
-#ifdef _WIN32
+#ifdef _MSC_VER
 #if CATCH_UNHANDLED_EXCEPTIONS == 1
 void se_trans_func(unsigned int u, EXCEPTION_POINTERS* pExp)
 {