shithub: dumb

Download patch

ref: cf975b7ce650c1c692d7efd53b540a5f1cd68953
parent: 61daa6b93370e599fd1514d3d539b6886d35cdf4
author: Azamat H. Hackimov <azamat.hackimov@gmail.com>
date: Tue Mar 15 11:12:23 EDT 2016

Fixed typo for proper handling

--- a/dumb/src/it/readpsm.c
+++ b/dumb/src/it/readpsm.c
@@ -1246,8 +1246,7 @@
 	}
 
 	if ( i < j ) return -1;
-	/* It's same as above. Typo? */
-	/* else if ( j > i ) return 1; */
+	else if ( i > j ) return 1;
 
 	i = memcmp( a, b, j );
 	if ( i ) return i;