mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-06 01:26:49 +08:00
[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:
@@ -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';
|
||||||
|
@@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user