[Bf-blender-cvs] [0b17547b232] blender2.7: Cleanup: comment line length (creator)
Campbell Barton
noreply at git.blender.org
Tue Jan 15 14:26:36 CET 2019
Commit: 0b17547b2321d7ae2d4f6e3c7ddacfdfdcfe58c9
Author: Campbell Barton
Date: Tue Jan 15 23:25:45 2019 +1100
Branches: blender2.7
https://developer.blender.org/rB0b17547b2321d7ae2d4f6e3c7ddacfdfdcfe58c9
Cleanup: comment line length (creator)
Prevents clang-format wrapping text before comments.
===================================================================
M source/creator/creator.c
M source/creator/creator_args.c
M source/creator/creator_signals.c
===================================================================
diff --git a/source/creator/creator.c b/source/creator/creator.c
index ac8d6c9d8f5..7576954ae48 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
diff --git a/source/creator/creator_args.c b/source/creator/creator_args.c
index 74bcc129f20..942f0764087 100644
--- a/source/creator/creator_args.c
+++ b/source/creator/creator_args.c
@@ -1952,7 +1952,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 cd1188f5750..be3650537e0 100644
--- a/source/creator/creator_signals.c
+++ b/source/creator/creator_signals.c
@@ -342,8 +342,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
}
More information about the Bf-blender-cvs
mailing list