Browse Source

Merged default paper size with previous commit

refactor
suhrke 5 years ago
parent
commit
b97c72bafb
  1. 3
      source/Printer.cpp

3
source/Printer.cpp

@ -46,7 +46,8 @@ t_printdata printdata; // extern @@ -46,7 +46,8 @@ t_printdata printdata; // extern
void Printfile(const std::string &path, const std::string &bmp)
{
// Prepare descriptor.
memset(&printdata,0,sizeof(printdata));
// memset(&printdata,0,sizeof(printdata));
t_printdata printdata = {};
printdata.infile = path;
if ( ! bmp.empty() )
printdata.outbmp = bmp;

Loading…
Cancel
Save