--- hline.c	Mon Feb  5 19:46:40 2001
+++ hline.c~	Fri Jan 26 22:58:21 2001
@@ -53,19 +53,11 @@
 	   
 	   Change contributed by Wayne Piekarski - wayne@cs.unisa.edu.au - UniSA Tinmith Project */
 
-
-	ggi_sint width;
-
-	/* If the X2 value is before X1, flip them around to start off */
-	if (x2 < x1)
-	  {
-	    ggi_sint temp = x1;
-	    x1 = x2;
-	    x2 = temp;
-	  }
+	ggi_sint width = x2 - x1 + 1;
 	
-	width = x2 - x1 + 1;
 	ggiSetGCForeground (vis, color);
+	if (width < 0)
+	  width = -width;
 	ggiDrawHLine (vis, x1, y, width);
 	
 	/*
