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:
authorLukas Tönne <lukas.toenne@gmail.com>2015-02-10 19:09:00 +0300
committerLukas Tönne <lukas.toenne@gmail.com>2015-02-10 19:09:00 +0300
commite89fd502d7b1ee5a4c17286a78ae0116f03510b7 (patch)
tree5c68b5cb560b3cc5ba62046167d364b2183abb11 /source/blender/blenfont/intern/blf_translation.c
parent6cd3ebfc9fa4838a74192f2e5cc82b5d5d2e6fe7 (diff)
parent227a94077f508a47fe7595b9091ab86aecde4ad5 (diff)
Merge branch 'master' into alembic_pointcache
Conflicts: CMakeLists.txt build_files/build_environment/install_deps.sh source/blender/blenkernel/CMakeLists.txt source/blender/blenkernel/SConscript source/blender/blenkernel/intern/particle.c source/blender/blenkernel/intern/pointcache.c source/blender/editors/physics/particle_edit.c source/blender/editors/space_outliner/outliner_draw.c source/blender/makesdna/DNA_modifier_types.h source/blender/makesrna/SConscript source/blender/makesrna/intern/CMakeLists.txt source/blender/makesrna/intern/SConscript source/blender/makesrna/intern/rna_modifier.c source/blender/makesrna/intern/rna_object_force.c source/blender/modifiers/MOD_modifiertypes.h source/blender/modifiers/intern/MOD_util.c source/blender/render/intern/source/voxeldata.c
Diffstat (limited to 'source/blender/blenfont/intern/blf_translation.c')
-rw-r--r--source/blender/blenfont/intern/blf_translation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenfont/intern/blf_translation.c b/source/blender/blenfont/intern/blf_translation.c
index e7d2c14b16f..2a4a152f0eb 100644
--- a/source/blender/blenfont/intern/blf_translation.c
+++ b/source/blender/blenfont/intern/blf_translation.c
@@ -133,7 +133,7 @@ void BLF_free_unifont_mono(void)
bool BLF_is_default_context(const char *msgctxt)
{
/* We use the "short" test, a more complete one could be:
- * return (!msgctxt || !msgctxt[0] || !strcmp(msgctxt == BLF_I18NCONTEXT_DEFAULT_BPYRNA))
+ * return (!msgctxt || !msgctxt[0] || STREQ(msgctxt, BLF_I18NCONTEXT_DEFAULT_BPYRNA))
*/
/* Note: trying without the void string check for now, it *should* not be necessary... */
return (!msgctxt || msgctxt[0] == BLF_I18NCONTEXT_DEFAULT_BPYRNA[0]);