summaryrefslogtreecommitdiff
path: root/Zend/zend_qsort.c
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend_qsort.c')
-rw-r--r--Zend/zend_qsort.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Zend/zend_qsort.c b/Zend/zend_qsort.c
index 23e4468fb0..a732306272 100644
--- a/Zend/zend_qsort.c
+++ b/Zend/zend_qsort.c
@@ -5,7 +5,7 @@
| Copyright (c) 1998-2006 Zend Technologies Ltd. (http://www.zend.com) |
+----------------------------------------------------------------------+
| This source file is subject to version 2.00 of the Zend license, |
- | that is bundled with this package in the file LICENSE, and is |
+ | that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.zend.com/license/2_00.txt. |
| If you did not receive a copy of the Zend license and are unable to |
@@ -85,10 +85,10 @@ ZEND_API void zend_qsort(void *base, size_t nmemb, size_t siz, compare_func_t co
for (; seg2 >= seg1 && compare(seg2, begin TSRMLS_CC) > 0;
seg2 -= siz);
-
+
if (seg1 >= seg2)
break;
-
+
_zend_qsort_swap(seg1, seg2, siz);
seg1 += siz;
@@ -98,7 +98,7 @@ ZEND_API void zend_qsort(void *base, size_t nmemb, size_t siz, compare_func_t co
_zend_qsort_swap(begin, seg2, siz);
seg2p = seg2;
-
+
if ((seg2p - begin) <= (end - seg2p)) {
if ((seg2p + siz) < end) {
begin_stack[loop] = seg2p + siz;
@@ -117,9 +117,9 @@ ZEND_API void zend_qsort(void *base, size_t nmemb, size_t siz, compare_func_t co
}
}
-/*
+/*
* Local Variables:
- * c-basic-offset: 4
+ * c-basic-offset: 4
* tab-width: 4
* End:
* vim600: fdm=marker