Mercurial > mercurial > hgweb_searcher03.cgi
diff src/bprint.cpp @ 5:bc2e2b304095
Clean up code.
author | pyon@macmini |
---|---|
date | Sat, 14 Sep 2013 08:54:47 +0900 |
parents | fdba695b99f1 |
children | 76db82822e73 |
line wrap: on
line diff
--- a/src/bprint.cpp Wed Sep 11 19:09:14 2013 +0900 +++ b/src/bprint.cpp Sat Sep 14 08:54:47 2013 +0900 @@ -1,5 +1,5 @@ // Filename : bprint.cpp -// Last Change: 11-Sep-2013. +// Last Change: 13-Sep-2013. // #include "bprint.h" @@ -143,12 +143,7 @@ file.Replace( wxFILE_SEP_PATH, wxT("/") ); wxString tmpjpg = wxString::Format( wxT("%stmp%d.jpg"), tmpdir, n ); - double zmin = 0.095713; - double zmax = 0.147142; - long lmin = 2072393; - long lmax = 2472318; - - if ( notyet_mask && IsMarksheet( file, zmin, zmax, lmin, lmax ) ) { // マークシート表面をマスクする + if ( notyet_mask && IsMarksheet( file, m_zmin, m_zmax, m_lmin, m_lmax ) ) { // マークシート表面をマスクする wxImage img_org( file, wxBITMAP_TYPE_JPEG ); int ver = GetMarksheetVersion( file ); if ( ver == 2 ) {