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>2018-07-31 14:27:51 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-07-31 14:27:51 +0300
commitc7e1d067a5ce3ce9803cce5db6ac25f9692a7472 (patch)
tree586c3fe16c51cf42b020a86dcf8487ae629edee4 /intern/clog
parentbb7b1cc884819d2a681f1c93b6bb9c015248aff0 (diff)
parenta3085190f80d6b61f1871040665ec926f52569d5 (diff)
Merge branch 'master' into blender2.8
Diffstat (limited to 'intern/clog')
-rw-r--r--intern/clog/clog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/clog/clog.c b/intern/clog/clog.c
index d26f0545117..f725b1c19c4 100644
--- a/intern/clog/clog.c
+++ b/intern/clog/clog.c
@@ -472,7 +472,7 @@ void CLG_logf(
static void CLG_ctx_output_set(CLogContext *ctx, void *file_handle)
{
ctx->output_file = file_handle;
- ctx->output = fileno(file_handle);
+ ctx->output = fileno(ctx->output_file);
#if defined(__unix__) || defined(__APPLE__)
ctx->use_color = isatty(ctx->output);
#endif