diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-08-01 06:02:21 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-08-01 06:51:05 +0300 |
commit | 901ee66ea1cb4d60a93d4c92161e5c8e21e903bd (patch) | |
tree | ef832f3cc235bf84ccc509f777e4116cab722c24 /source/blender/blenlib/BLI_dial_2d.h | |
parent | 006e850a84eb8b81b9a22f5c448732daa98f9a21 (diff) |
Cleanup: use term init instead of initialize/initialise
The abbreviation 'init' is brief, unambiguous and already used
in thousands of places, also initialize is often accidentally
written with British spelling.
Diffstat (limited to 'source/blender/blenlib/BLI_dial_2d.h')
-rw-r--r-- | source/blender/blenlib/BLI_dial_2d.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_dial_2d.h b/source/blender/blenlib/BLI_dial_2d.h index a39543720e6..83467881eb5 100644 --- a/source/blender/blenlib/BLI_dial_2d.h +++ b/source/blender/blenlib/BLI_dial_2d.h @@ -38,7 +38,7 @@ * float angle; * Dial *dial; * - * dial = BLI_dial_initialize(start_position, threshold); + * dial = BLI_dial_init(start_position, threshold); * * angle = BLI_dial_angle(dial, current_position); * @@ -52,7 +52,7 @@ extern "C" { typedef struct Dial Dial; -Dial *BLI_dial_initialize(const float start_position[2], float threshold); +Dial *BLI_dial_init(const float start_position[2], float threshold); float BLI_dial_angle(Dial *dial, const float current_position[2]); |