From b693a8af1ecda5932e3c86be1ee7036c82192c4e Mon Sep 17 00:00:00 2001 From: Kyle Neideck Date: Wed, 27 Dec 2017 15:22:17 +1100 Subject: [PATCH] Add .editorconfig file to fix tab width on GitHub. --- .editorconfig | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..1e50794 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +# This file was added to get GitHub to display our source code correctly when +# it has mixed tabs and spaces. (I didn't realise the sample code BGMDriver is +# based on used tabs and it's too late to fix it now.) +# +# See http://editorconfig.org. + +# This is the top-most .editorconfig file. +root = true + +# Set tabs to the width of 4 spaces in C, C++, Objective-C and Objective-C++ +# source files. +[*.{h,c,cpp,m,mm}] +tab_width = 4 + +