more nanometer work, see comment at line 66 of pcbnew/classpcb.cpp

This commit is contained in:
Dick Hollenbeck
2012-05-06 15:10:43 -05:00
parent 3d747571d6
commit 9fbc499361
12 changed files with 209 additions and 203 deletions
+2 -1
View File
@@ -425,7 +425,8 @@ void PDF_PLOTTER::closePdfStream()
workFile = 0;
::wxRemoveFile( workFilename );
wxMemoryOutputStream memos;
// NULL means memos owns the memory, but provide a hint on optimum size needed.
wxMemoryOutputStream memos( NULL, std::max( 2000, stream_len ) ) ;
{
/* Somewhat standard parameters to compress in DEFLATE. The PDF spec is