--- a/src/core/CoreImpExp.cpp
+++ b/src/core/CoreImpExp.cpp
@@ -656,12 +656,12 @@
 
       hdr = BuildHeader(bsFields, false);
       size_t found = hdr.find(_T("\t"));
-	    while (found != StringX::npos) {
-		    if (found != StringX::npos) {
-			    hdr.replace(found, 1, _T(", "));
-		    }
-		    found = hdr.find(_T("\t"));
-	    }
+      while (found != StringX::npos) {
+        if (found != StringX::npos) {
+          hdr.replace(found, 1, _T(", "));
+        }
+        found = hdr.find(_T("\t"));
+      }
       hdr = _T("     ") + hdr;
       conv.ToUTF8(hdr, utf8, utf8Len);
       ofs.write(reinterpret_cast<const char *>(utf8), utf8Len);