From 748f468fdc7b80b7e84a854c63443050fcacad9c Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Sun, 29 Nov 2020 18:10:47 -0500 Subject: Cleanup: Use "region" for ARegion variable names As proposed in T74432 and already implemented in several commits, "region" is the preferred name for `ARegion` variables, rather than any variant of "ar". This commit changes a few "ar" variables that have popped up over time and also adjusted names of variants like "arnew". --- source/blender/blenloader/intern/versioning_270.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source/blender/blenloader') diff --git a/source/blender/blenloader/intern/versioning_270.c b/source/blender/blenloader/intern/versioning_270.c index 41e46f8f0a0..adc2b55b350 100644 --- a/source/blender/blenloader/intern/versioning_270.c +++ b/source/blender/blenloader/intern/versioning_270.c @@ -245,13 +245,13 @@ static void do_version_action_editor_properties_region(ListBase *regionbase) } if (region->regiontype == RGN_TYPE_WINDOW) { /* add new region here */ - ARegion *arnew = MEM_callocN(sizeof(ARegion), "buttons for action"); + ARegion *region_new = MEM_callocN(sizeof(ARegion), "buttons for action"); - BLI_insertlinkbefore(regionbase, region, arnew); + BLI_insertlinkbefore(regionbase, region, region_new); - arnew->regiontype = RGN_TYPE_UI; - arnew->alignment = RGN_ALIGN_RIGHT; - arnew->flag = RGN_FLAG_HIDDEN; + region_new->regiontype = RGN_TYPE_UI; + region_new->alignment = RGN_ALIGN_RIGHT; + region_new->flag = RGN_FLAG_HIDDEN; return; } -- cgit v1.2.3