Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-01-15 15:25:45 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-01-15 15:30:31 +0300
commit30c3852ffd140b003410aae25b222dea8b76412f (patch)
tree5bf74c4107905ffb241eda4bc1e8f93ae3b8756a
parent328a0f975be68404604ee2571c1d0c4cf828dfec (diff)
Cleanup: comment line length (creator)
Prevents clang-format wrapping text before comments.
-rw-r--r--source/creator/creator.c6
-rw-r--r--source/creator/creator_args.c3
-rw-r--r--source/creator/creator_signals.c6
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
}