diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-06-20 10:09:05 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-06-20 10:09:05 +0300 |
commit | 973afa0172a66b3d0921ec1d6fd28c6acc6afdbf (patch) | |
tree | 2fd861fc8687779360efcc4f6cf320df327e96a2 /source/blender/editors | |
parent | f6c661a38f93500523e617b194ed350346d1830d (diff) |
Cleanup: use listbase clear
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_edit.c b/source/blender/editors/gpencil/gpencil_edit.c index 26237890539..2c6e9d75337 100644 --- a/source/blender/editors/gpencil/gpencil_edit.c +++ b/source/blender/editors/gpencil/gpencil_edit.c @@ -247,7 +247,7 @@ void ED_gpencil_strokes_copybuf_free(void) BLI_freelinkN(&gp_strokes_copypastebuf, gps); } - gp_strokes_copypastebuf.first = gp_strokes_copypastebuf.last = NULL; + BLI_listbase_clear(&gp_strokes_copypastebuf); } /* --------------------- */ |