Commit e7fd324a authored by Lorenzo Marcantonio's avatar Lorenzo Marcantonio

Fixed format string (spurious character was added) in HPGL driver

parent a2c75829
...@@ -161,7 +161,7 @@ void HPGL_PLOTTER::PenTo( const wxPoint& pos, char plume ) ...@@ -161,7 +161,7 @@ void HPGL_PLOTTER::PenTo( const wxPoint& pos, char plume )
DPOINT pos_dev = userToDeviceCoordinates( pos ); DPOINT pos_dev = userToDeviceCoordinates( pos );
if( penLastpos != pos ) if( penLastpos != pos )
fprintf( outputFile, "PA %.0f,%.0fd;\n", pos_dev.x, pos_dev.y ); fprintf( outputFile, "PA %.0f,%.0f;\n", pos_dev.x, pos_dev.y );
penLastpos = pos; penLastpos = pos;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment