shithub: mc

Download patch

ref: fd284fa6b2ae5d7aa6f4cdccaed2344004bfef81
parent: 4beafe65a028cf5f83b0a810a2419a597fe3c6f9
author: Ori Bernstein <[email protected]>
date: Mon Aug 6 19:24:48 EDT 2012

Make min() actually return the min, not the max.

    Swapped the return values. Fuck.

--- a/fmt.myr
+++ b/fmt.myr
@@ -117,9 +117,9 @@
 
 const min = {a : size, b : size
 	if a < b
-		-> b
-	else
 		-> a
+	else
+		-> b
 	;;
 }