summaryrefslogtreecommitdiff
path: root/win/System.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'win/System.cpp')
-rw-r--r--win/System.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/System.cpp b/win/System.cpp
index aa2a267..285cafc 100644
--- a/win/System.cpp
+++ b/win/System.cpp
@@ -859,7 +859,7 @@ static void AbbreviateName(LPTSTR lpszCanon, int cchMax, BOOL bAtLeastName)
// If cchMax isn't enough to hold at least the basename, we're done
if (cchMax < cchFileName)
{
- lstrcpy(lpszCanon, (bAtLeastName) ? lpszFileName : &afxChNil);
+ lstrcpy(lpszCanon, (bAtLeastName) ? lpszFileName : _T(""));
return;
}