client/app: Fix coding style; also add a minor thing to util/codestyle.sh
This commit is contained in:
parent
6b7845f68a
commit
fc0142c22e
@ -742,7 +742,7 @@ struct CApp: public Polycode::EventHandler, public App
|
|||||||
}
|
}
|
||||||
ar(num_entries);
|
ar(num_entries);
|
||||||
lua_pushnil(L);
|
lua_pushnil(L);
|
||||||
int i=1;
|
int i = 1;
|
||||||
while(lua_next(L, value_L) != 0){
|
while(lua_next(L, value_L) != 0){
|
||||||
log_d(MODULE, "array[%i]", i);
|
log_d(MODULE, "array[%i]", i);
|
||||||
binary_output_write_value(L, -1, array_type_L, ar);
|
binary_output_write_value(L, -1, array_type_L, ar);
|
||||||
|
@ -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/\*\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/" + /"+/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
|
sed -i -e 's/^\(\t\+\) \+/\1\t\t/g' $header_files $cpp_files
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user