diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-02-23 06:17:50 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-02-23 06:17:50 +0400 |
commit | 53fece44cf08e730bba8b8581f8bd02361f37930 (patch) | |
tree | c58fcddc070d6c9e5996b117ba281a7bfab2023b /source/blender/blenkernel/intern/text.c | |
parent | c428bb438934e3172f33ba6897bc2d55c326acd8 (diff) |
style cleanup for blenkernel, no functional changes.
Diffstat (limited to 'source/blender/blenkernel/intern/text.c')
-rw-r--r-- | source/blender/blenkernel/intern/text.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/text.c b/source/blender/blenkernel/intern/text.c index ba48db588c4..888d59b78b5 100644 --- a/source/blender/blenkernel/intern/text.c +++ b/source/blender/blenkernel/intern/text.c @@ -2061,7 +2061,7 @@ void txt_do_undo(Text *text) linep= txt_undo_read_uint32(text->undo_buf, &text->undo_pos); buf= MEM_mallocN(linep+1, "dblock buffer"); - for (i=0; i < linep; i++){ + for (i=0; i < linep; i++) { buf[(linep-1)-i]= text->undo_buf[text->undo_pos]; text->undo_pos--; } @@ -2097,7 +2097,7 @@ void txt_do_undo(Text *text) /* txt_backspace_char removes utf8-characters, not bytes */ buf= MEM_mallocN(linep+1, "iblock buffer"); - for (i=0; i < linep; i++){ + for (i=0; i < linep; i++) { buf[(linep-1)-i]= text->undo_buf[text->undo_pos]; text->undo_pos--; } @@ -2766,7 +2766,7 @@ void txt_indent(Text *text) if (!text->sell) return; /* insert spaces rather than tabs */ - if (text->flags & TXT_TABSTOSPACES){ + if (text->flags & TXT_TABSTOSPACES) { add = tab_to_spaces; indentlen = spaceslen; } @@ -2827,7 +2827,7 @@ void txt_unindent(Text *text) if (!text->sell) return; /* insert spaces rather than tabs */ - if (text->flags & TXT_TABSTOSPACES){ + if (text->flags & TXT_TABSTOSPACES) { remove = tab_to_spaces; indent = spaceslen; } |