Minor bug and compiler warning fixes.

* Applied sheet reference plotting patch from Lorenzo.
* Fixed bug in Pcbnew plot dialog, ignore user scaling when controls are disabled.
This commit is contained in:
stambaughw
2009-06-01 18:28:34 +00:00
parent fd0e99bbd4
commit 161068b1c6
7 changed files with 228 additions and 196 deletions
+2 -1
View File
@@ -236,7 +236,8 @@ void WinEDA_DrawFrame::PlotWorkSheet( int format_plot, BASE_SCREEN* screen )
gypas = ( yg - ref.y) / ipas;
for( ii = ref.y + gypas, jj = 0; ipas > 0; ii += gypas, jj++, ipas-- )
{
msg.Empty(); msg << jj;
msg.Empty();
msg.Append('A' + jj);
if( ii < yg - PAS_REF / 2 )
{
pos.x = ref.x * conv_unit; pos.y = ii * conv_unit;