From 69ffb507dbe58ae6ca57d6c04f04aafb4260d3d7 Mon Sep 17 00:00:00 2001 From: ChenHengming Date: Fri, 14 Aug 2015 06:37:10 +0000 Subject: [PATCH] [format]: change astyle setting git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@107 6e48237b-75ef-9749-8fc9-41990f28c85a --- osal/mpp_log.cpp | 2 +- tools/astylerc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/osal/mpp_log.cpp b/osal/mpp_log.cpp index 5e108c75..ce6d83ab 100644 --- a/osal/mpp_log.cpp +++ b/osal/mpp_log.cpp @@ -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) { buf = msg_log_warning; } 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); msg[len] = '\n'; msg[len + 1] = '\0'; diff --git a/tools/astylerc b/tools/astylerc index 9343e8ea..61be20ee 100644 --- a/tools/astylerc +++ b/tools/astylerc @@ -11,7 +11,7 @@ --indent=spaces=4 --indent-labels #--indent-switches ---indent-preprocessor +#--indent-preprocessor --min-conditional-indent=0 --max-instatement-indent=80