diff options
author | Frank Neumann <fnu@yavdr.org> | 2017-06-02 12:46:31 +0200 |
---|---|---|
committer | Frank Neumann <fnu@yavdr.org> | 2017-06-02 12:46:31 +0200 |
commit | 1e10270655dcca66af1cdd5f143787d63a7af961 (patch) | |
tree | 36cadd670b39a49b92d5a6d6a36d7206ee7dd6e9 /loader.c | |
parent | 9518efd31c611a8d804c609093ada98ccc34e125 (diff) | |
download | vdr-plugin-text2skin-1e10270655dcca66af1cdd5f143787d63a7af961.tar.gz vdr-plugin-text2skin-1e10270655dcca66af1cdd5f143787d63a7af961.tar.bz2 |
Correct typo from "try fix deprecated readdir_r".
Diffstat (limited to 'loader.c')
-rw-r--r-- | loader.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -16,7 +16,7 @@ void cText2SkinLoader::Start(void) { struct dirent *result; d = opendir(SkinPath().c_str()); if (d) { - while ((result = readdir(p)) != NULL) { + while ((result = readdir(d)) != NULL) { struct stat buf; if (strcmp(result->d_name, ".") == 0 || strcmp(result->d_name, "..") == 0) continue; |