Mercurial > hg > aimc
comparison trunk/src/Modules/Output/Graphics/Devices/GraphicsOutputDeviceMovie.cc @ 402:69466da9745e
- Massive refactoring to make module tree stuff work. In theory we now support configuration files again. The graphics stuff is untested as yet.
author | tomwalters |
---|---|
date | Mon, 18 Oct 2010 04:42:28 +0000 |
parents | dd13c9834ceb |
children | a908972d234e |
comparison
equal
deleted
inserted
replaced
401:b71ec2cbe55b | 402:69466da9745e |
---|---|
201 struct dirent *dirent; | 201 struct dirent *dirent; |
202 if (!(dir = opendir(m_sDir))) { | 202 if (!(dir = opendir(m_sDir))) { |
203 LOG_ERROR(_T("Couldn't remove files in temporary directory.")); | 203 LOG_ERROR(_T("Couldn't remove files in temporary directory.")); |
204 return; | 204 return; |
205 } | 205 } |
206 while (dirent = readdir(dir)) { | 206 while ((dirent = readdir(dir))) { |
207 snprintf(sCmdLine, | 207 snprintf(sCmdLine, |
208 sizeof(sCmdLine)/sizeof(sCmdLine[0]), | 208 sizeof(sCmdLine)/sizeof(sCmdLine[0]), |
209 "%s%s", | 209 "%s%s", |
210 m_sDir, | 210 m_sDir, |
211 dirent->d_name); | 211 dirent->d_name); |