diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2016-09-18 22:54:24 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2016-09-18 22:54:24 +0300 |
commit | 404a427dfdee0f5300b7c4f375cd7ff4a0b8bc8e (patch) | |
tree | 2c062fcbb99d41687e434078f1141366af30d985 /source/blender/blenlib/intern/listbase.c | |
parent | 572bc1364ca9d978edf5aee991849dd4f8e56a52 (diff) |
Minor corrections for previous commit
Was using wrong argument name in doxygen comment. Also reduced scope of vars.
Sorry for the noise :/
Diffstat (limited to 'source/blender/blenlib/intern/listbase.c')
-rw-r--r-- | source/blender/blenlib/intern/listbase.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenlib/intern/listbase.c b/source/blender/blenlib/intern/listbase.c index e72eff57ad9..d6c0219ea23 100644 --- a/source/blender/blenlib/intern/listbase.c +++ b/source/blender/blenlib/intern/listbase.c @@ -343,12 +343,12 @@ void BLI_insertlinkbefore(ListBase *listbase, void *vnextlink, void *vnewlink) } /** - * Reinsert \a link relative to its current position but offset by \a step. Doesn't move + * Reinsert \a vlink relative to its current position but offset by \a step. Doesn't move * item if new position would exceed list (could optionally move to head/tail). * * \param step: Absolute value defines step size, sign defines direction. E.g pass -1 - * to move \a link before previous, or 1 to move behind next. - * \return If position of \a link has changed. + * to move \a vlink before previous, or 1 to move behind next. + * \return If position of \a vlink has changed. */ bool BLI_listbase_link_move(ListBase *listbase, void *vlink, int step) { |