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/util/editmode_undo.c | |
parent | 45b8a61bf39dade4efcad16c26324d1cb2e95d48 (diff) |
use (const char*) rather than (char*) where possible.
also removed some unused function definitons.
Diffstat (limited to 'source/blender/editors/util/editmode_undo.c')
-rw-r--r-- | source/blender/editors/util/editmode_undo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/util/editmode_undo.c b/source/blender/editors/util/editmode_undo.c index a312b0abbb4..34dffc11d94 100644 --- a/source/blender/editors/util/editmode_undo.c +++ b/source/blender/editors/util/editmode_undo.c @@ -338,7 +338,7 @@ int undo_editmode_valid(const char *undoname) /* get name of undo item, return null if no item with this index */ /* if active pointer, set it to 1 if true */ -char *undo_editmode_get_name(bContext *C, int nr, int *active) +const char *undo_editmode_get_name(bContext *C, int nr, int *active) { UndoElem *uel; |