- Merged 2 fixes from MP Branch

o VFS: don't convert empty strings
o Updated _PolishText.cpp

- New EXE Release (Build: 3111)

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@3111 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2009-07-15 17:25:07 +00:00
parent 5a9f0b16b1
commit 98507b972b
4 changed files with 8 additions and 6 deletions
+2 -1
View File
@@ -30,8 +30,9 @@ os::CIterateDirectory::CIterateDirectory(vfs::Path const& sPath, utf8string cons
fSearchHandle = FindFirstFileW((sPath+searchPattern)().c_wcs().c_str(), &fFileInfo);
if (fSearchHandle == INVALID_HANDLE_VALUE)
{
DWORD error = GetLastError();
std::wstringstream wss;
wss << L"Path [" << (sPath+searchPattern)() << L"] does not exist";
wss << L"Error accessing path [" << (sPath+searchPattern)() << L"], error code : " << error;
THROWEXCEPTION(wss.str().c_str());
}
#else