summaryrefslogtreecommitdiff
path: root/src/win32.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/win32.cpp')
-rw-r--r--src/win32.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win32.cpp b/src/win32.cpp
index 3aad60434..741823877 100644
--- a/src/win32.cpp
+++ b/src/win32.cpp
@@ -1021,7 +1021,7 @@ void GetCurrentDirectoryW(int length, wchar_t *path)
char *getcwd(char *buf, size_t size)
{
#if defined(WINCE)
- TCHAR path[MAX_PATH];
+ TCHAR path[MAX_PATH];
GetModuleFileName(NULL, path, MAX_PATH);
convert_from_fs(path, buf, size);
/* GetModuleFileName returns dir with file, so remove everything behind latest '\\' */