From e7a03c1e0263a39a6c3b2fa7f8f85dbfc293996f Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Mardelle Date: Mon, 3 Mar 2008 11:51:24 +0000 Subject: [PATCH] new indentation fix script svn path=/branches/KDE4/; revision=1986 --- reindent.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/reindent.sh b/reindent.sh index 8854f402..47140d1d 100755 --- a/reindent.sh +++ b/reindent.sh @@ -1,7 +1,7 @@ #! /bin/sh -for i in `ls src/*.{cpp,h}` -do - indent -kr -nut -pmt -ss -bad -bap -prs -bap -nbc -nce -cdb -fca $i - sed -e "s/} const const/}const/" -i $i -done \ No newline at end of file +astyle --indent=spaces=4 --brackets=attach \ + --indent-labels --unpad=paren \ + --pad=oper --convert-tabs \ + --indent-preprocessor \ + `find -type f -wholename './src/*.cpp'` `find -type f -wholename './src/*.h'` \ No newline at end of file -- 2.39.2