diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-12-22 07:11:10 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-12-22 07:12:19 +0400 |
commit | c1c26c36f62c3bfdb40b01f33004695a09ce2f4d (patch) | |
tree | 21e738fefe0c7d77af7c1129bcdfef65e1a8f655 /source/blender/editors/mesh/editmesh_knife.c | |
parent | 5eb96d4705b93a7049ecabd0827e0e58b28a2838 (diff) |
Style Cleanup: remove preprocessor indentation (updated wiki style guide too)
Diffstat (limited to 'source/blender/editors/mesh/editmesh_knife.c')
-rw-r--r-- | source/blender/editors/mesh/editmesh_knife.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/mesh/editmesh_knife.c b/source/blender/editors/mesh/editmesh_knife.c index 102bad26e28..64175c133ea 100644 --- a/source/blender/editors/mesh/editmesh_knife.c +++ b/source/blender/editors/mesh/editmesh_knife.c @@ -228,7 +228,7 @@ static bool knife_verts_edge_in_face(KnifeVert *v1, KnifeVert *v2, BMFace *f); static void knife_update_header(bContext *C, KnifeTool_OpData *kcd) { - #define HEADER_LENGTH 256 +#define HEADER_LENGTH 256 char header[HEADER_LENGTH]; BLI_snprintf(header, HEADER_LENGTH, IFACE_("LMB: define cut lines, Return/Spacebar: confirm, Esc or RMB: cancel, " @@ -238,8 +238,8 @@ static void knife_update_header(bContext *C, KnifeTool_OpData *kcd) WM_bool_as_string(kcd->ignore_edge_snapping), WM_bool_as_string(kcd->angle_snapping), WM_bool_as_string(kcd->cut_through)); - ED_area_headerprint(CTX_wm_area(C), header); +#undef HEADER_LENGTH } static void knife_project_v2(const KnifeTool_OpData *kcd, const float co[3], float sco[2]) |