diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-11-05 15:04:28 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-11-05 15:04:28 +0400 |
commit | 33accdb725bb7e5bb133b17faa2cc6191eca73ef (patch) | |
tree | d7691f0ba464750a641ec2f3a8d5875a00f95151 /source/blender/editors/physics/particle_edit.c | |
parent | 45b8a61bf39dade4efcad16c26324d1cb2e95d48 (diff) |
use (const char*) rather than (char*) where possible.
also removed some unused function definitons.
Diffstat (limited to 'source/blender/editors/physics/particle_edit.c')
-rw-r--r-- | source/blender/editors/physics/particle_edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/physics/particle_edit.c b/source/blender/editors/physics/particle_edit.c index 3694102fa5b..b0a17c6f9a9 100644 --- a/source/blender/editors/physics/particle_edit.c +++ b/source/blender/editors/physics/particle_edit.c @@ -4023,7 +4023,7 @@ void PE_undo_number(Scene *scene, int nr) /* get name of undo item, return null if no item with this index */ /* if active pointer, set it to 1 if true */ -char *PE_undo_get_name(Scene *scene, int nr, int *active) +const char *PE_undo_get_name(Scene *scene, int nr, int *active) { PTCacheEdit *edit= PE_get_current(scene, OBACT); PTCacheUndo *undo; |