client/app: Fix coding style; also add a minor thing to util/codestyle.sh

This commit is contained in:
Perttu Ahola 2014-09-20 20:20:54 +03:00
parent 6b7845f68a
commit fc0142c22e
2 changed files with 2 additions and 1 deletions

View File

@ -742,7 +742,7 @@ struct CApp: public Polycode::EventHandler, public App
}
ar(num_entries);
lua_pushnil(L);
int i=1;
int i = 1;
while(lua_next(L, value_L) != 0){
log_d(MODULE, "array[%i]", i);
binary_output_write_value(L, -1, array_type_L, ar);

View File

@ -41,5 +41,6 @@ sed -i -e 's/ &>/&>/g' $header_files $cpp_files
sed -i -e 's/\*\s\+>/\*>/g' $header_files $cpp_files
sed -i -e 's/ + "/+"/g' $header_files $cpp_files
sed -i -e 's/" + /"+/g' $header_files $cpp_files
sed -i -e 's/" *+$/"+/g' $header_files $cpp_files
sed -i -e 's/^\(\t\+\) \+/\1\t\t/g' $header_files $cpp_files