Browse Source

config: fix confdialog warning

stable/0.6
Alejandro Mery 10 years ago
parent
commit
6fb7a9dd29
1 changed files with 8 additions and 7 deletions
  1. +8
    -7
      src/confdialog/confdialog.c

+ 8
- 7
src/confdialog/confdialog.c

@ -1,18 +1,19 @@
/*
* --- T2-COPYRIGHT-NOTE-BEGIN ---
* --- SDE-COPYRIGHT-NOTE-BEGIN ---
* This copyright note is auto-generated by ./scripts/Create-CopyPatch.
*
* T2 SDE: misc/confdialog/confdialog.c
*
* Filename: src/confdialog/confdialog.c
* Copyright (C) 2013 The OpenSDE Project
* Copyright (C) 2004 - 2006 The T2 SDE Project
* Copyright (C) 1998 - 2003 Clifford Wolf
*
*
* More information can be found in the files COPYING and README.
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License. A copy of the
* GNU General Public License can be found in the file COPYING.
* --- T2-COPYRIGHT-NOTE-END ---
* --- SDE-COPYRIGHT-NOTE-END ---
*/
/*
* dialog - Display simple dialog boxes from shell scripts
@ -227,7 +228,7 @@ j_inputbox (const char *t, int ac, const char * const * av)
int ret = dialog_inputbox (t, av[2], atoi (av[3]), atoi (av[4]),
ac == 6 ? av[5] : (char *) NULL);
if (ret == 0)
fprintf(stderr, dialog_input_result);
fputs(dialog_input_result, stderr);
return ret;
}

Loading…
Cancel
Save