Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-06-20 10:09:05 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-06-20 10:09:05 +0300
commit973afa0172a66b3d0921ec1d6fd28c6acc6afdbf (patch)
tree2fd861fc8687779360efcc4f6cf320df327e96a2 /source/blender/editors
parentf6c661a38f93500523e617b194ed350346d1830d (diff)
Cleanup: use listbase clear
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/gpencil/gpencil_edit.c2
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);
}
/* --------------------- */