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-03-07 20:24:25 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-03-07 20:24:25 +0400
commitc78f02d9908773ec29d10b31c9401bb17eb5eacb (patch)
tree97d62e6e2bb375b05d41924cd51579a513476fda /source/blender/editors/space_console
parent00781668ce936db58681e2b49d635857e5b2d25e (diff)
edit to cursor adjustment, use int rather then short to store the cursor position.
Diffstat (limited to 'source/blender/editors/space_console')
-rw-r--r--source/blender/editors/space_console/console_ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_console/console_ops.c b/source/blender/editors/space_console/console_ops.c
index ab1cada8f0c..b52bc75eac8 100644
--- a/source/blender/editors/space_console/console_ops.c
+++ b/source/blender/editors/space_console/console_ops.c
@@ -276,9 +276,9 @@ static int console_move_exec(bContext *C, wmOperator *op)
int type= RNA_enum_get(op->ptr, "type");
int done= 0;
- short pos;
+ int pos;
- switch(type) {
+ switch (type) {
case LINE_BEGIN:
pos = ci->cursor;
BLI_str_cursor_step_utf8(ci->line, ci->len,