summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2011-03-13 11:56:51 +0000
committerMichael Sevakis <jethead71@rockbox.org>2011-03-13 11:56:51 +0000
commit7cac18f94b512d8541456c2a68f7bfb05a5bd6e8 (patch)
tree1bf4092efef05374c5bbe2376f2d7f835435463b /tools
parente86a7fb77d22cdd593162e91d57012f4ae61cc81 (diff)
downloadrockbox-7cac18f94b512d8541456c2a68f7bfb05a5bd6e8.tar.gz
rockbox-7cac18f94b512d8541456c2a68f7bfb05a5bd6e8.zip
Use ringbuf_add in buffering when incrementing for initial allocation of non-wrapping data. The result of the shortcut would have been wrong if the handle used space exactly to the end of the buffer since buf_widx wouldn't have been properly wrapped to index 0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29578 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions