Browse Source

main has instance of t_printdata

refactor
4 years ago
parent
commit
92ea5fa154
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      source/main.cpp

+ 1
- 3
source/main.cpp View File

@@ -161,12 +161,10 @@ int main(int argc, char ** argv) {
// allocate memory for printdata
// sets printdata.infile and printdata.outbmp
// if second arg is not NULL, writes a bmp to outfile
Printfile( infile, outfile );
t_printdata printdata = Printfile( infile, outfile );
// Get more attributes
// Opens buffer for arbitrary data
Preparefiletoprint( &printdata );

//Get more attributes
// Construct superblock
if ( Initializeprinting( &printdata, WIDTH_A4, HEIGHT_A4 ) == 0 ) {

Loading…
Cancel
Save