← Back to team overview

kicad-developers team mailing list archive

[PATCH] Code style fix: three spaces to four spaces

 

Hi,

While trying to fix https://bugs.launchpad.net/kicad/+bug/1423515, I
tripped over this simple code style error.

You can look at that line here:
https://github.com/KiCad/kicad-source-mirror/blob/master/pcbnew/dialogs/dialog_plot.cpp#L637

I hope I'm not mistaken, perhaps the indentation meant something useful.
If not, here you are. Patch file included.

Regards,

Ruben De Smet

-- 
I prefer encrypted email. My key's signature ends in 1213DC10 and here's
a tutorial: http://lifehacker.com/180878/how-to-encrypt-your-email
commit 7d1810dadec2a46e9574e5a09655eec20094bf38
Author: Ruben De Smet <ruben.de.smet@xxxxxxxxxx>
Date:   Sat Jun 27 22:15:08 2015 +0200

    Added space for four spaces instead of three

diff --git a/pcbnew/dialogs/dialog_plot.cpp b/pcbnew/dialogs/dialog_plot.cpp
index 76ef304..d22003d 100644
--- a/pcbnew/dialogs/dialog_plot.cpp
+++ b/pcbnew/dialogs/dialog_plot.cpp
@@ -634,7 +634,7 @@ void DIALOG_PLOT::applyPlotSettings()
         reporter.Report( msg, REPORTER::RPT_INFO );
     }
 
-   ConfigBaseWriteDouble( m_config, OPTKEY_PLOT_X_FINESCALE_ADJ, m_XScaleAdjust );
+    ConfigBaseWriteDouble( m_config, OPTKEY_PLOT_X_FINESCALE_ADJ, m_XScaleAdjust );
 
     // Y scale
     msg = m_fineAdjustYscaleOpt->GetValue();

Attachment: signature.asc
Description: OpenPGP digital signature


Follow ups