aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-06-15 15:52:07 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-06-15 15:52:07 +0000
commit6be38dee891591d9d07d248a884583f9d4390009 (patch)
tree39ce0d5139030aa865491b5c3315e5d6c7f33a52
parent79a39f14a1c56f9ec5f2226d61cbf6416dbb78e3 (diff)
oops, declaration after code
svn path=/trunk/externals/zexy/; revision=3176
-rw-r--r--src/index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.c b/src/index.c
index e7db366..84786fe 100644
--- a/src/index.c
+++ b/src/index.c
@@ -256,10 +256,10 @@ static void index_sort(t_index *x){
index_compact(x); /* couldn't we do it more "in-place", e.g. don't touch empty slots ? */
while(step>1){
+ int i = loops;
//step = (step % 2)?(step+1)/2:step/2;
step+=step%2;
step>>=1;
- int i = loops;
loops+=2;
while(i--) { /* there might be some optimization in here */