src/platform_windows.cpp
changeset 8 26cc9f0228f4
parent 0 16f27efbef98
child 54 8f6b3a6b77a8
     1.1 --- a/src/platform_windows.cpp	Fri Jul 11 12:07:26 2014 +0200
     1.2 +++ b/src/platform_windows.cpp	Fri Jul 11 17:43:11 2014 +0200
     1.3 @@ -111,7 +111,7 @@
     1.4              tPath, PATH_BUF_SIZE);
     1.5  	assert(length);
     1.6      if (length == 0)
     1.7 -        throw bad_alloc();
     1.8 +        throw bad_alloc(); // BUG: there are other errors possible beside out of memory
     1.9  
    1.10  	CreateDirectory(tPath, NULL);
    1.11  	DWORD error = GetLastError();