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

This commit is contained in:
Lorenzo Marcantonio 2012-08-29 19:29:45 +02:00
parent a2c75829f9
commit e7fd324a75
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ void HPGL_PLOTTER::PenTo( const wxPoint& pos, char plume )
DPOINT pos_dev = userToDeviceCoordinates( 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;
}