r166: *** empty log message ***
[ctsim.git] / libctgraphics / sgp.cpp
index bc789cf0fea2f685eed345e84b778d4b58741177..1062901737201670c32db960935990d70bc26d5e 100644 (file)
@@ -7,7 +7,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: sgp.cpp,v 1.7 2000/07/29 19:50:08 kevin Exp $
+**  $Id: sgp.cpp,v 1.8 2000/07/31 14:48:35 kevin Exp $
 **
 **  This program is free software; you can redistribute it and/or modify
 **  it under the terms of the GNU General Public License (version 2) as
@@ -261,7 +261,7 @@ SGP::lineAbs (double x, double y)
 
   double x2 = x;
   double y2 = y;
-  mc_to_ndc.transformPoint (&x1, &y2);
+  mc_to_ndc.transformPoint (&x2, &y2);
   
   if (clip_rect (x1, y1, x2, y2, viewNDC) == true) { // clip to viewport 
     stylusNDC (x1, y1, 0);  // move to first point