From 7b48da6cb21a1b26ebea2134cdf889a258a8c39f Mon Sep 17 00:00:00 2001 From: Zrax Date: Thu, 7 Apr 2011 15:37:34 -0700 Subject: [PATCH] Missed one of these --- .../Plasma/PubUtilLib/plStatGather/plProfileManagerFull.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStatGather/plProfileManagerFull.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStatGather/plProfileManagerFull.cpp index 4083f337..3a4d0962 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStatGather/plProfileManagerFull.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStatGather/plProfileManagerFull.cpp @@ -444,7 +444,7 @@ const wchar* plProfileManagerFull::GetProfilePath() void plProfileManagerFull::ILogStats() { wchar statFilename[256]; - swprintf(statFilename, L"%s%s.csv", GetProfilePath(), fLogAgeName.c_str()); + swprintf(statFilename, 256, L"%s%s.csv", GetProfilePath(), fLogAgeName.c_str()); bool exists = plFileUtils::FileExists(statFilename);