diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/nodes/intern/CMP_nodes/CMP_tonemap.c | 2 | ||||
-rw-r--r-- | source/blender/src/buttons_editing.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/nodes/intern/CMP_nodes/CMP_tonemap.c b/source/blender/nodes/intern/CMP_nodes/CMP_tonemap.c index 662d8e8dde9..5e1803a6774 100644 --- a/source/blender/nodes/intern/CMP_nodes/CMP_tonemap.c +++ b/source/blender/nodes/intern/CMP_nodes/CMP_tonemap.c @@ -63,7 +63,7 @@ static float avgLogLum(CompBuf *src, float* auto_key, float* Lav, float* Cav) } -void static tonemap(NodeTonemap* ntm, CompBuf* dst, CompBuf* src) +static void tonemap(NodeTonemap* ntm, CompBuf* dst, CompBuf* src) { int x, y; float dr, dg, db, al, igm = (ntm->gamma==0.f) ? 1 : (1.f / ntm->gamma); diff --git a/source/blender/src/buttons_editing.c b/source/blender/src/buttons_editing.c index edd9a2ff827..dc0a772d7da 100644 --- a/source/blender/src/buttons_editing.c +++ b/source/blender/src/buttons_editing.c @@ -2686,7 +2686,7 @@ static void load_buts_vfont(char *name) static void set_unicode_text_fs(char *file) { - if (file > 0) paste_unicodeText(file); + if (file) paste_unicodeText(file); } void do_fontbuts(unsigned short event) |