From 8de36496d1c006fa39746b2c6e491732ba5a0b2d Mon Sep 17 00:00:00 2001 From: Cheng Renquan Date: Thu, 1 Sep 2011 10:52:19 -0700 Subject: [PATCH] --- yaml --- r: 274306 b: refs/heads/master c: cd58a90fa6ff2ec86bcc9e399acfd6dcc97268b3 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/scripts/kconfig/nconf.gui.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index d067ad86ee08..971e593755f6 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4e24dbfc26f8b8285c9ed2f92ffddf4eb8ab960a +refs/heads/master: cd58a90fa6ff2ec86bcc9e399acfd6dcc97268b3 diff --git a/trunk/scripts/kconfig/nconf.gui.c b/trunk/scripts/kconfig/nconf.gui.c index d3af04e95288..3ce2a7c0bda6 100644 --- a/trunk/scripts/kconfig/nconf.gui.c +++ b/trunk/scripts/kconfig/nconf.gui.c @@ -457,7 +457,7 @@ int dialog_inputbox(WINDOW *main_window, /* insert the char at the proper position */ memmove(&result[cursor_position+1], &result[cursor_position], - len+1); + len-cursor_position+1); result[cursor_position] = res; cursor_position++; } else {