aboutsummaryrefslogtreecommitdiff
path: root/pd/portaudio/fixfile.bat
diff options
context:
space:
mode:
authorMiller Puckette <millerpuckette@users.sourceforge.net>2004-09-06 21:03:01 +0000
committerMiller Puckette <millerpuckette@users.sourceforge.net>2004-09-06 21:03:01 +0000
commit43da63a095b3bbcea1009337f1af027a04499266 (patch)
tree45c32d196d4d21fc55ef792ea2bb19b7d0610f77 /pd/portaudio/fixfile.bat
parentcfc2f7d280ae57ef563dd69bad27c61a148d6ded (diff)
More files I forgot to add
svn path=/trunk/; revision=2012
Diffstat (limited to 'pd/portaudio/fixfile.bat')
-rwxr-xr-xpd/portaudio/fixfile.bat7
1 files changed, 7 insertions, 0 deletions
diff --git a/pd/portaudio/fixfile.bat b/pd/portaudio/fixfile.bat
new file mode 100755
index 00000000..48f6fbc2
--- /dev/null
+++ b/pd/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