Remove a strange single quote that didn't seem to upset the compilers!
This commit is contained in:
parent
e407e2ac42
commit
2795dae20d
|
@ -356,7 +356,7 @@ get_progpath(void)
|
||||||
but makes no mention of the null terminator. Play it safe.
|
but makes no mention of the null terminator. Play it safe.
|
||||||
PLUS Windows itself defines MAX_PATH as the same, but anyway...
|
PLUS Windows itself defines MAX_PATH as the same, but anyway...
|
||||||
*/
|
*/
|
||||||
wprogpath[MAXPATHLEN]=_T('\0')';
|
wprogpath[MAXPATHLEN]=_T('\0');
|
||||||
if (GetModuleFileName(NULL, wprogpath, MAXPATHLEN)) {
|
if (GetModuleFileName(NULL, wprogpath, MAXPATHLEN)) {
|
||||||
WideCharToMultiByte(CP_ACP, 0,
|
WideCharToMultiByte(CP_ACP, 0,
|
||||||
wprogpath, -1,
|
wprogpath, -1,
|
||||||
|
|
Loading…
Reference in New Issue