- // Put to Black the burnt-in number.
- nX = currentFile->GetXSize();
- nY = currentFile->GetYSize();
- for(int y=nY-15; y<nY; y++)
- for(int x=nX/3; x<nX/2+50; x++)
- imageData[ y*nX*2 + x ] = 0;
-
+ if (rubout) {
+ // Put to Black the burnt-in number.
+ nX = currentFile->GetXSize();
+ nY = currentFile->GetYSize();
+ for(int y=nY-15; y<nY; y++)
+ for(int x=nX/3; x<nX/2+50; x++)
+ imageData[ y*nX*2 + x ] = 0;
+ }
+