diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-05-19 15:18:54 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-05-19 15:18:54 +0300 |
commit | a7c4b6f49cf169af676a44ec2bf21ca4527fee95 (patch) | |
tree | 97b20957d5fc9ed853ba0c456da77278754cfcb7 /source/blender/blenloader/intern/versioning_legacy.c | |
parent | ef549b9e556b1e4c27ae11280a672ec9be20ca11 (diff) |
Cleanup: add braces for multi-line blocks
Diffstat (limited to 'source/blender/blenloader/intern/versioning_legacy.c')
-rw-r--r-- | source/blender/blenloader/intern/versioning_legacy.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/versioning_legacy.c b/source/blender/blenloader/intern/versioning_legacy.c index f2d42849bcc..c29ffbb76f2 100644 --- a/source/blender/blenloader/intern/versioning_legacy.c +++ b/source/blender/blenloader/intern/versioning_legacy.c @@ -2296,11 +2296,12 @@ void blo_do_versions_pre250(FileData *fd, Library *lib, Main *main) /* during 2.41 images with this name were used for viewer node output, lets fix that */ if (main->versionfile == 241) { Image *ima; - for (ima = main->image.first; ima; ima = ima->id.next) + for (ima = main->image.first; ima; ima = ima->id.next) { if (STREQ(ima->name, "Compositor")) { strcpy(ima->id.name + 2, "Viewer Node"); strcpy(ima->name, "Viewer Node"); } + } } } |