summaryrefslogtreecommitdiff
path: root/apps/plugins/goban/sgf_storage.c
diff options
context:
space:
mode:
authorMustapha Senhaji <moos@rockbox.org>2009-02-19 23:51:47 +0000
committerMustapha Senhaji <moos@rockbox.org>2009-02-19 23:51:47 +0000
commit07ae1e4fb9a1fd9d6ce9c48c5300b53e87303937 (patch)
treedf5c68d24e5ce84f171cb97ab309da8ed828cb8f /apps/plugins/goban/sgf_storage.c
parent56ad29bab89bfdb5eaa95a4da906f8b5d68b950b (diff)
downloadrockbox-07ae1e4fb9a1fd9d6ce9c48c5300b53e87303937.tar.gz
rockbox-07ae1e4fb9a1fd9d6ce9c48c5300b53e87303937.zip
FS#9930 by Joshua Simmons: Code clean up the goban plugin a bit, mostly by improving comments. No functional changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20060 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/goban/sgf_storage.c')
-rw-r--r--apps/plugins/goban/sgf_storage.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/plugins/goban/sgf_storage.c b/apps/plugins/goban/sgf_storage.c
index 1c92625f7d..8afc3ea80f 100644
--- a/apps/plugins/goban/sgf_storage.c
+++ b/apps/plugins/goban/sgf_storage.c
@@ -409,7 +409,6 @@ setup_storage_buffer (char *temp_buffer, size_t size)
409 } 409 }
410 410
411 /* same as temp = size / (sizeof(union storage_t) + 1/8) 411 /* same as temp = size / (sizeof(union storage_t) + 1/8)
412
413 (we need 1 bit extra for each union storage_t, for the free list) */ 412 (we need 1 bit extra for each union storage_t, for the free list) */
414 temp = 413 temp =
415 (8 * (size - ALIGNMENT_VAL - 1)) / (8 * sizeof (union storage_t) + 1); 414 (8 * (size - ALIGNMENT_VAL - 1)) / (8 * sizeof (union storage_t) + 1);