Mesa (master): mesa: glGet: fix indentation of print_table_stats

Brian Paul brianp at kemper.freedesktop.org
Tue Sep 11 23:43:03 UTC 2012


Module: Mesa
Branch: master
Commit: ae310e37fb1242bf760172fe6b6506e5063ae346
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae310e37fb1242bf760172fe6b6506e5063ae346

Author: Imre Deak <imre.deak at intel.com>
Date:   Mon Sep 10 09:41:39 2012 +0300

mesa: glGet: fix indentation of print_table_stats

No functional change.

Signed-off-by: Imre Deak <imre.deak at intel.com>
Signed-off-by: Brian Paul <brianp at vmware.com>

---

 src/mesa/main/get.c |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index bb0b619..ce5af04 100644
--- a/src/mesa/main/get.c
+++ b/src/mesa/main/get.c
@@ -1398,29 +1398,29 @@ print_table_stats(void)
 
    for (i = 0; i < Elements(table); i++) {
       if (!table[i])
-	 continue;
+         continue;
       count++;
       d = &values[table[i]];
       hash = (d->pname * prime_factor);
       j = 0;
       while (1) {
-	 if (values[table[hash & mask]].pname == d->pname)
-	    break;
-	 hash += prime_step;
-	 j++;
+         if (values[table[hash & mask]].pname == d->pname)
+            break;
+         hash += prime_step;
+         j++;
       }
 
       if (j < 10)
-	 collisions[j]++;
+         collisions[j]++;
       else
-	 collisions[10]++;
+         collisions[10]++;
    }
 
    printf("number of enums: %d (total %d)\n", count, Elements(values));
    for (i = 0; i < Elements(collisions) - 1; i++)
       if (collisions[i] > 0)
-	 printf("  %d enums with %d %scollisions\n",
-		collisions[i], i, i == 10 ? "or more " : "");
+         printf("  %d enums with %d %scollisions\n",
+               collisions[i], i, i == 10 ? "or more " : "");
 }
 #endif
 




More information about the mesa-commit mailing list