aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lxdialog/msgbox.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@mars.ravnborg.org>2005-11-19 15:56:20 -0500
committerSam Ravnborg <sam@mars.ravnborg.org>2005-11-19 15:56:20 -0500
commitdec69da856653772d7ee7b2f98dc69da27274a22 (patch)
tree020cf19de028a402a6bfc792caaffeddaf5a3e9b /scripts/lxdialog/msgbox.c
parentb1c5f1c635f4a821f834ed51ccd8a2a1515fffd2 (diff)
kconfig: fixup after Lindent
Readability are more important then the 80 coloumn limit, so fold several lines to greatly improve readability. Also keep return type on same line as function definition. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/lxdialog/msgbox.c')
-rw-r--r--scripts/lxdialog/msgbox.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/lxdialog/msgbox.c b/scripts/lxdialog/msgbox.c
index 76f358ca1fda..b39405717da1 100644
--- a/scripts/lxdialog/msgbox.c
+++ b/scripts/lxdialog/msgbox.c
@@ -25,9 +25,8 @@
25 * Display a message box. Program will pause and display an "OK" button 25 * Display a message box. Program will pause and display an "OK" button
26 * if the parameter 'pause' is non-zero. 26 * if the parameter 'pause' is non-zero.
27 */ 27 */
28int 28int dialog_msgbox(const char *title, const char *prompt, int height, int width,
29dialog_msgbox(const char *title, const char *prompt, int height, int width, 29 int pause)
30 int pause)
31{ 30{
32 int i, x, y, key = 0; 31 int i, x, y, key = 0;
33 WINDOW *dialog; 32 WINDOW *dialog;