From 24c0fcc9bf4fdca260661592308ddcc6506254d6 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 9 May 2012 18:16:15 +0000 Subject: [PATCH] - another MAXPATHLEN svn path=/trunk/boinc/; revision=25660 --- api/boinc_api.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/boinc_api.cpp b/api/boinc_api.cpp index c9d301923b..6b58f1dfd2 100644 --- a/api/boinc_api.cpp +++ b/api/boinc_api.cpp @@ -1002,7 +1002,7 @@ struct GRAPHICS_APP { char* argv[4]; char abspath[MAXPATHLEN]; #ifdef _WIN32 - GetFullPathName(path, 1024, abspath, NULL); + GetFullPathName(path, MAXPATHLEN, abspath, NULL); #else strcpy(abspath, path); #endif