summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/iriverify.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/apps/plugins/iriverify.c b/apps/plugins/iriverify.c
index 9e7cdfb..7b5c218 100644
--- a/apps/plugins/iriverify.c
+++ b/apps/plugins/iriverify.c
@@ -109,11 +109,8 @@ static int write_file(void)
str_begin = buf_ptr;
}
- /* Ok, skip a char */
- buf_ptr++;
-
- /* until ... */
- } while(buf_ptr < stringbuffer + readsize);
+ /* Next char, until ... */
+ } while(buf_ptr++ < stringbuffer + readsize);
rb->close(fd);