Mercurial > hg > aimc
changeset 259:dd0448d4ab69
- Hack for directories
author | tomwalters |
---|---|
date | Sun, 14 Nov 2010 06:04:58 +0000 |
parents | 46bd452331f2 |
children | 0a8fac5bbfeb |
files | src/Modules/Output/Graphics/Devices/GraphicsOutputDeviceCairo.cc |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/Modules/Output/Graphics/Devices/GraphicsOutputDeviceCairo.cc Sun Nov 14 06:01:30 2010 +0000 +++ b/src/Modules/Output/Graphics/Devices/GraphicsOutputDeviceCairo.cc Sun Nov 14 06:04:58 2010 +0000 @@ -66,10 +66,7 @@ directory_ = global_parameters->GetString("output_filename_base") + pathsep; //! \todo Make build system check for mkdtemp() to use it when available. See TODO.txt. #ifdef _WINDOWS - if (_mkdir(directory_.c_str()) < 0) { - LOG_ERROR(_T("Couldn't create directory for image output.")); - return false; - } + _mkdir(directory_.c_str()); #else mkdir(directory_.c_str(), S_IRWXU); #endif