Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-05-09 13:24:15 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-09 13:24:15 +0400
commitd20c129a9cef276dd7d54c3cd03a6e4cfb024cfa (patch)
treebceac66f3b03f347900beec56c6efa2adc98beb9 /source/blender/editors/space_text
parentc2863e3f9b2a394ac943a8e0e982de8667e20b7e (diff)
style cleanup: whitespace/operators
Diffstat (limited to 'source/blender/editors/space_text')
-rw-r--r--source/blender/editors/space_text/text_ops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_text/text_ops.c b/source/blender/editors/space_text/text_ops.c
index 3116d94df87..04408173928 100644
--- a/source/blender/editors/space_text/text_ops.c
+++ b/source/blender/editors/space_text/text_ops.c
@@ -1156,7 +1156,7 @@ static int text_convert_whitespace_exec(bContext *C, wmOperator *op)
}
else {
new_line[j] = text_check_line[a];
- ++j;
+ j++;
}
}
new_line[j] = '\0';
@@ -1208,12 +1208,12 @@ static int text_convert_whitespace_exec(bContext *C, wmOperator *op)
if (!number) { //found all number of space to equal a tab
new_line[extra] = '\t';
a = a + (st->tabnumber - 1);
- ++extra;
+ extra++;
}
else { //not adding a tab
new_line[extra] = text_check_line[a];
- ++extra;
+ extra++;
}
}
new_line[extra] = '\0';