File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -82,10 +82,10 @@ WindowsError::WindowsError(DWORD val)
8282 ss << val;
8383
8484 wchar_t * buf = NULL ;
85- FormatMessageW (FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS,
85+ FormatMessageW (FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS | FORMAT_MESSAGE_MAX_WIDTH_MASK ,
8686 NULL ,
8787 val,
88- LANG_USER_DEFAULT ,
88+ MAKELANGID (LANG_ENGLISH, SUBLANG_ENGLISH_US) ,
8989 (wchar_t *) &buf, // What a weird API.
9090 0 ,
9191 NULL );
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ Path::localpathtype Path::c_localdefault = LOCALPATH_LOCAL;
9595 */
9696Path::Path ()
9797{
98- m_path = " . " ;
98+ m_path = " " ;
9999}
100100
101101/* *
You can’t perform that action at this time.
0 commit comments