summaryrefslogtreecommitdiff
path: root/portaudio/fixfile.bat
diff options
context:
space:
mode:
Diffstat (limited to 'portaudio/fixfile.bat')
-rwxr-xr-xportaudio/fixfile.bat7
1 files changed, 7 insertions, 0 deletions
diff --git a/portaudio/fixfile.bat b/portaudio/fixfile.bat
new file mode 100755
index 0000000..48f6fbc
--- /dev/null
+++ b/portaudio/fixfile.bat
@@ -0,0 +1,7 @@
+rem Use Astyle to fix style in a file
+fixlines -p %1%
+astyle --style=ansi -c -o --convert-tabs --indent-preprocessor %1%
+del %1%.orig
+@rem convert line terminators to Unix style LFs
+fixlines -u %1%
+del %1%.bak