Browse code

Bubble sort: fix an English mistake in the comments.

Xavier G authored on 23/08/2016 03:36:18
Showing 1 changed files
... ...
@@ -10,7 +10,7 @@ void array_sort(unsigned int **array, unsigned int count) {
10 10
 	unsigned int target;        /* Target for our iterations. */
11 11
 	int latest_swap;            /* Whether we had to swap in the past iteration. */
12 12
 
13
-	/* Do nothing unless there is at least two items to sort: */
13
+	/* Do nothing unless there are at least two items to sort: */
14 14
 	if (count < 2) return;
15 15
 
16 16
 	/* Bubble-sort is an in-place algorithm, i.e. we work directly on the