aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-inline.h
diff options
context:
space:
mode:
authorCheng Renquan <[email protected]>2011-09-01 17:52:21 +0000
committerMichal Marek <[email protected]>2011-09-09 12:40:08 +0000
commite631a57a19e103c3bb59495b236634ec62e2a850 (patch)
treeabcd76bf12c0ea7d6a34f16a0d1b874411d4d827 /lib/mpi/mpi-inline.h
parentscripts/kconfig/nconf: dynamically alloc dialog_input_result (diff)
downloadkernel-e631a57a19e103c3bb59495b236634ec62e2a850.tar.gz
kernel-e631a57a19e103c3bb59495b236634ec62e2a850.zip
scripts/kconfig/nconf: fix editing long strings
The original dialog_inputbox doesn't work with longer than prompt_width strings, here fixed it in this way: 1) add variable cursor_form_win to record cursor of form_win, keep its value always between [0, prompt_width-1]; reuse the original cursor_position as cursor of the string result, use (cursor_position-cursor_form_win) as begin offset to show part of the string in form_win; Signed-off-by: Cheng Renquan <[email protected]> Cc: Arnaud Lacombe <[email protected]> Cc: Nir Tzachar <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions