Change add_handle to never have side effects on the buffer if it fails. It actually...
commit663915593d705896ff5ce30fc0689584bd2395ea
authorjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Sun, 13 Feb 2011 10:44:13 +0000 (13 10:44 +0000)
committerjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Sun, 13 Feb 2011 10:44:13 +0000 (13 10:44 +0000)
treee1debb1da2ef1dcc02bdc177daa1dcfbf72b5322
parent934a34bc92ecdc6e546e44e5b727c86365ae8768
Change add_handle to never have side effects on the buffer if it fails. It actually seems ok and I'm not sure if's responsible for anything, but it's more sane and keeps buffer_handle from regressing buf_widx later if buffering cur_handle.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29291 a1c6a512-1295-4272-9138-f99709370657
apps/buffering.c