Moved one line of code for no real reason (stemming from foolishness involved with not cleaning the build)
parent
6e0a0b3226
commit
a531be218c
|
@ -79,12 +79,12 @@ If not, the function will traverse the full hierarchy of the given directory and
|
|||
*/
|
||||
int AssetCache::fromDir(const char *dir) {
|
||||
char cachepath[1024];
|
||||
directory.assign(dir);
|
||||
#ifndef _WIN32
|
||||
sprintf(cachepath, "%s/.CACHE", dir);
|
||||
#else
|
||||
sprintf_s(cachepath, 1024, "%s/.CACHE", dir);
|
||||
#endif
|
||||
directory.assign(dir);
|
||||
if (fromFile(cachepath) != 0) {
|
||||
LOG(LOG_INFO) << FUNC_NAME << ": " << cachepath << " does not exist";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue