diff options
Diffstat (limited to 'loader.c')
-rw-r--r-- | loader.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -12,9 +12,8 @@ #include <dirent.h> void cText2SkinLoader::Start(void) { - DIR *d; + DIR *d = opendir(SkinPath().c_str()); struct dirent *result; - d = opendir(SkinPath().c_str()); if (d) { while ((result = readdir(d)) != NULL) { struct stat buf; |