summaryrefslogtreecommitdiffstats
path: root/src/pbanner.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2010-09-19 18:50:57 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2010-09-19 18:50:57 +0200
commitdf47ee18e5f97cf64aa69cfe0c05732e1ff9b184 (patch)
tree6410cd840bfd565cca402329638873fb9dbb7a79 /src/pbanner.c
parent81b9f669ce33b6ff99a6a467c896e08ace81afc8 (diff)
aff_copy_short(): a 1-line banner
Diffstat (limited to 'src/pbanner.c')
-rw-r--r--src/pbanner.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/pbanner.c b/src/pbanner.c
index f0b90da..6338f5a 100644
--- a/src/pbanner.c
+++ b/src/pbanner.c
@@ -30,12 +30,17 @@
#include "intrf.h"
#include "intrfn.h"
-void aff_copy(WINDOW *window)
+void aff_copy_short(WINDOW *window)
{
wclear(window);
keypad(window, TRUE); /* Need it to get arrow key */
wmove(window,0,0);
wprintw(window, "PhotoRec %s, Data Recovery Utility, %s\n",VERSION,TESTDISKDATE);
+}
+
+void aff_copy(WINDOW *window)
+{
+ aff_copy_short(window);
wmove(window,1,0);
wprintw(window, "Christophe GRENIER <grenier@cgsecurity.org>");
wmove(window,2,0);