aboutsummaryrefslogtreecommitdiffstats
path: root/organizemusic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'organizemusic.cpp')
-rw-r--r--organizemusic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/organizemusic.cpp b/organizemusic.cpp
index 608b6e6..b705091 100644
--- a/organizemusic.cpp
+++ b/organizemusic.cpp
@@ -285,7 +285,7 @@ int main(int argc, char *argv[])
/* Process all arguments to program as input paths. */
for (int i = 1; i < argc; ++i) {
- size_t len = strlen(argv[i]);
+ len = strlen(argv[i]);
if (argv[i][len - 1] == '/')
argv[i][len - 1] = '\0';
process_path(argv[i]);