diff options
Diffstat (limited to 'source/blender/editors/transform')
-rw-r--r-- | source/blender/editors/transform/transform.c | 2 | ||||
-rw-r--r-- | source/blender/editors/transform/transform_orientations.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index c47d49de99f..36438712d09 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -3854,7 +3854,7 @@ int Bevel(TransInfo *t, short UNUSED(mval[2])) float distance,d; int i; char str[128]; - char *mode; + const char *mode; TransData *td = t->data; mode = (G.editBMesh->options & BME_BEVEL_VERT) ? "verts only" : "normal"; diff --git a/source/blender/editors/transform/transform_orientations.c b/source/blender/editors/transform/transform_orientations.c index de6c56246a0..0b70e211484 100644 --- a/source/blender/editors/transform/transform_orientations.c +++ b/source/blender/editors/transform/transform_orientations.c @@ -400,7 +400,7 @@ EnumPropertyItem *BIF_enumTransformOrientation(bContext *C) return item; } -char * BIF_menustringTransformOrientation(const bContext *C, char *title) { +const char * BIF_menustringTransformOrientation(const bContext *C, const char *title) { char menu[] = "%t|Global%x0|Local%x1|Gimbal%x4|Normal%x2|View%x3"; ListBase *transform_spaces = &CTX_data_scene(C)->transform_spaces; TransformOrientation *ts; |