]> git.karo-electronics.de Git - linux-beck.git/commit
kconfig/lxdialog: handle newline characters in print_autowrap()
authorDirk Gouders <dirk@gouders.net>
Wed, 8 May 2013 15:29:42 +0000 (17:29 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Tue, 18 Jun 2013 21:58:57 +0000 (23:58 +0200)
commit1376391621654cc369c5e8b60497f7c184f0ed47
tree0a4b91e6aae28dd794218386a337c38b3f7fa1e5
parentff7b0c2c2430b5b116108441cbd0680efbef68d1
kconfig/lxdialog: handle newline characters in print_autowrap()

When exiting menuconfig with unsaved changes, a dialog like
the following is shown:

        Do you wish to save your new configuration ? <ESC><ESC>
        to continue.

The author of the dialog text specified a newline after the '?',
and probably expected it to be processed, so let print_autowrap()
handle newlines propperly.

Also, reword that dialog's second phrase with a real sentence.

Signed-off-by: Dirk Gouders <dirk@gouders.net>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[yann.morin.1998@free.fr: very slightly tweak the commit message]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
scripts/kconfig/lxdialog/util.c
scripts/kconfig/mconf.c