[format]: change astyle setting

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@107 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
ChenHengming
2015-08-14 06:37:10 +00:00
parent cbf53d2929
commit 69ffb507db
2 changed files with 2 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ void __mpp_log(mpp_log_callback func, const char *tag, const char *fmt, va_list
} else if (len == MPP_LOG_MAX_LEN) { } else if (len == MPP_LOG_MAX_LEN) {
buf = msg_log_warning; buf = msg_log_warning;
} else if (fmt[len - 1] != '\n') { } else if (fmt[len - 1] != '\n') {
char msg[MPP_LOG_MAX_LEN+1]; char msg[MPP_LOG_MAX_LEN + 1];
snprintf(msg, sizeof(msg), "%s", fmt); snprintf(msg, sizeof(msg), "%s", fmt);
msg[len] = '\n'; msg[len] = '\n';
msg[len + 1] = '\0'; msg[len + 1] = '\0';

View File

@@ -11,7 +11,7 @@
--indent=spaces=4 --indent=spaces=4
--indent-labels --indent-labels
#--indent-switches #--indent-switches
--indent-preprocessor #--indent-preprocessor
--min-conditional-indent=0 --min-conditional-indent=0
--max-instatement-indent=80 --max-instatement-indent=80