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 fe6da4b309..84561e09e0 100644
--- a/Zend/zend_qsort.c
+++ b/Zend/zend_qsort.c
@@ -5,7 +5,7 @@
| Copyright (c) 1998-2014 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 |
@@ -86,10 +86,10 @@ ZEND_API void zend_qsort_r(void *base, size_t nmemb, size_t siz, compare_r_func_
for (; seg2 >= seg1 && compare(seg2, begin, arg) > 0;
seg2 -= siz);
-
+
if (seg1 >= seg2)
break;
-
+
_zend_qsort_swap(seg1, seg2, siz);
seg1 += siz;
@@ -99,7 +99,7 @@ ZEND_API void zend_qsort_r(void *base, size_t nmemb, size_t siz, compare_r_func_
_zend_qsort_swap(begin, seg2, siz);
seg2p = seg2;
-
+
if ((seg2p - begin) <= (end - seg2p)) {
if ((seg2p + siz) < end) {
begin_stack[loop] = seg2p + siz;
@@ -123,9 +123,9 @@ ZEND_API void zend_qsort(void *base, size_t nmemb, size_t siz, compare_func_t co
zend_qsort_r(base, nmemb, siz, (compare_r_func_t)compare, NULL);
}
-/*
+/*
* Local Variables:
- * c-basic-offset: 4
+ * c-basic-offset: 4
* tab-width: 4
* End:
* vim600: fdm=marker