summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/main.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-07-02 11:58:04 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-07-03 04:56:04 +0200
commit340906d3571ba3c75e67d8457de4129381d5a6b3 (patch)
treee6d502dcf39bb8f7eb5ee685da7781e51bf1b717 /facetracknoir/main.cpp
parent54dd13ffc6c16a149a55c75ce3dd3724fc8684b4 (diff)
try fix MSVC
Diffstat (limited to 'facetracknoir/main.cpp')
-rw-r--r--facetracknoir/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/facetracknoir/main.cpp b/facetracknoir/main.cpp
index c92f6980..2e08c8ba 100644
--- a/facetracknoir/main.cpp
+++ b/facetracknoir/main.cpp
@@ -20,7 +20,7 @@ static void add_program_library_path()
{
char* p = _pgmptr;
{
- char path[MAX_PATH];
+ char path[MAX_PATH+1];
strcpy(path, p);
char* ptr = strrchr(path, '\\');
if (ptr)