From 30c3852ffd140b003410aae25b222dea8b76412f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 15 Jan 2019 23:25:45 +1100 Subject: Cleanup: comment line length (creator) Prevents clang-format wrapping text before comments. --- source/creator/creator.c | 6 ++++-- source/creator/creator_args.c | 3 ++- source/creator/creator_signals.c | 6 ++++-- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/source/creator/creator.c b/source/creator/creator.c index 632ae7c3cf2..fa3d57f5c9d 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -249,7 +249,8 @@ int main( _putenv_s("OMP_WAIT_POLICY", "PASSIVE"); # endif - /* FMA3 support in the 2013 CRT is broken on Vista and Windows 7 RTM (fixed in SP1). Just disable it. */ + /* FMA3 support in the 2013 CRT is broken on Vista and Windows 7 RTM + * (fixed in SP1). Just disable it. */ # if defined(_MSC_VER) && defined(_M_X64) _set_FMA3_enable(0); # endif @@ -398,7 +399,8 @@ int main( main_signal_setup(); #else - G.factory_startup = true; /* using preferences or user startup makes no sense for py-as-module */ + /* using preferences or user startup makes no sense for py-as-module */ + G.factory_startup = true; #endif #ifdef WITH_FFMPEG diff --git a/source/creator/creator_args.c b/source/creator/creator_args.c index fe67eff3c40..49ae332ec36 100644 --- a/source/creator/creator_args.c +++ b/source/creator/creator_args.c @@ -1824,7 +1824,8 @@ static int arg_handle_load_file(int UNUSED(argc), const char **argv, void *data) } if (BLO_has_bfile_extension(filename)) { - /* Just pretend a file was loaded, so the user can press Save and it'll save at the filename from the CLI. */ + /* Just pretend a file was loaded, so the user can press Save and it'll + * save at the filename from the CLI. */ BLI_strncpy(G_MAIN->name, filename, FILE_MAX); G.relbase_valid = true; G.save_over = true; diff --git a/source/creator/creator_signals.c b/source/creator/creator_signals.c index 94e5874f71b..678617eb28f 100644 --- a/source/creator/creator_signals.c +++ b/source/creator/creator_signals.c @@ -335,8 +335,10 @@ void main_signal_setup_fpe(void) (_MM_MASK_OVERFLOW | _MM_MASK_INVALID | _MM_MASK_DIV_ZERO)); # endif /* OSX_SSE_FPE */ # if defined(_WIN32) && defined(_MSC_VER) - _controlfp_s(NULL, 0, _MCW_EM); /* enables all fp exceptions */ - _controlfp_s(NULL, _EM_DENORMAL | _EM_UNDERFLOW | _EM_INEXACT, _MCW_EM); /* hide the ones we don't care about */ + /* enables all fp exceptions */ + _controlfp_s(NULL, 0, _MCW_EM); + /* hide the ones we don't care about */ + _controlfp_s(NULL, _EM_DENORMAL | _EM_UNDERFLOW | _EM_INEXACT, _MCW_EM); # endif /* _WIN32 && _MSC_VER */ #endif } -- cgit v1.2.3