summary refs log tree commit diff stats
path: root/Source/pch.cpp
diff options
context:
space:
mode:
authorjbzdarkid <jbzdarkid@gmail.com>2019-12-05 10:23:42 -0800
committerjbzdarkid <jbzdarkid@gmail.com>2019-12-05 10:23:42 -0800
commit38060c54f9f923d49b019fcf90f3494fd5469b74 (patch)
tree64a13b0453a78e3064374b9b7b1e3cb515f14dda /Source/pch.cpp
parent9f4ea5694ec32507db1d28000fa52665e0e84323 (diff)
downloadwitness-tutorializer-38060c54f9f923d49b019fcf90f3494fd5469b74.tar.gz
witness-tutorializer-38060c54f9f923d49b019fcf90f3494fd5469b74.tar.bz2
witness-tutorializer-38060c54f9f923d49b019fcf90f3494fd5469b74.zip
Bugfix, add debug function, add dots 2
Diffstat (limited to 'Source/pch.cpp')
-rw-r--r--Source/pch.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/Source/pch.cpp b/Source/pch.cpp index 1730571..45113cd 100644 --- a/Source/pch.cpp +++ b/Source/pch.cpp
@@ -1 +1,11 @@
1#include "pch.h" \ No newline at end of file 1#include "pch.h"
2
3void DebugPrint(std::string text) {
4#ifdef _DEBUG
5 if (text[text.size()-1] != '\n') {
6 text += '\n';
7 }
8 OutputDebugStringA(text.c_str());
9 std::cout << text;
10#endif
11}