diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2016-06-27 18:40:08 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2016-06-27 18:42:38 +0300 |
commit | f738f66f1be736aec31f3640d35168a2e24f39f8 (patch) | |
tree | b0eefdde5c20d5d04d781c1c91f3f3ce52daa877 /source/blender/editors/space_text/space_text.c | |
parent | 14f056144e3e1a94188034eae71bd56c3a1feec9 (diff) |
Fix (unreported) wrong ID type check in Text editor's ID remap callback.
Diffstat (limited to 'source/blender/editors/space_text/space_text.c')
-rw-r--r-- | source/blender/editors/space_text/space_text.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_text/space_text.c b/source/blender/editors/space_text/space_text.c index 0dea59fd68c..686a10fc785 100644 --- a/source/blender/editors/space_text/space_text.c +++ b/source/blender/editors/space_text/space_text.c @@ -567,7 +567,7 @@ static void text_id_remap(ScrArea *UNUSED(sa), SpaceLink *slink, ID *old_id, ID { SpaceText *stext = (SpaceText *)slink; - if (!ELEM(GS(old_id->name), ID_GD)) { + if (!ELEM(GS(old_id->name), ID_TXT)) { return; } |