Commit c39ef78d authored by charras's avatar charras

minor changes.

parent 3685dbe4
...@@ -282,7 +282,7 @@ bool dialog_copper_zone::AcceptOptions( bool aPromptForErrors, bool aUseExportab ...@@ -282,7 +282,7 @@ bool dialog_copper_zone::AcceptOptions( bool aPromptForErrors, bool aUseExportab
if ( m_Zone_Setting->m_ZoneMinThickness < 10 ) if ( m_Zone_Setting->m_ZoneMinThickness < 10 )
{ {
DisplayError( this, DisplayError( this,
_( "Error :\nyou must choose a copper min thickness value bigger than 0.001 inch or 0.00254 mm)" ) ); _( "Error :\nyou must choose a copper min thickness value bigger than 0.001 inch or 0.0254 mm)" ) );
return false; return false;
} }
......
...@@ -2555,7 +2555,7 @@ void Graph::WriteKEY( Bool_Engine* GC, FILE* file ) ...@@ -2555,7 +2555,7 @@ void Graph::WriteKEY( Bool_Engine* GC, FILE* file )
void Graph::WriteGraphKEY(Bool_Engine* GC) void Graph::WriteGraphKEY(Bool_Engine* GC)
{ {
#if KBOOL_DEBUG == 1
double scale = 1.0/GC->GetGrid()/GC->GetGrid(); double scale = 1.0/GC->GetGrid()/GC->GetGrid();
FILE* file = fopen("keygraphfile.key", "w"); FILE* file = fopen("keygraphfile.key", "w");
...@@ -2615,6 +2615,7 @@ void Graph::WriteGraphKEY(Bool_Engine* GC) ...@@ -2615,6 +2615,7 @@ void Graph::WriteGraphKEY(Bool_Engine* GC)
"); ");
fclose (file); fclose (file);
#endif
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment