aboutsummaryrefslogtreecommitdiffhomepage
path: root/demo/ex2.c
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2011-10-11 15:08:14 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2011-10-11 15:08:14 +0200
commit62cbcd271283070848a0d924ba25a061a2dff2da (patch)
treee57e4c1a2103dab7bcbc59dfc74cf8445816c605 /demo/ex2.c
parent1efec3952b780cc675ae111313017c3b91d20a01 (diff)
downloaderlang-slang-fork-62cbcd271283070848a0d924ba25a061a2dff2da.tar.gz
applied debian erlang-slang_1.0-3 patch: some slang_drv updates
most of this are useless whitespace changes, but slang_drv is updated and debian files are added
Diffstat (limited to 'demo/ex2.c')
-rw-r--r--demo/ex2.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/demo/ex2.c b/demo/ex2.c
index bbfa980..eef251e 100644
--- a/demo/ex2.c
+++ b/demo/ex2.c
@@ -5,7 +5,7 @@ int main ()
{
int abort_char = 7; /* For MSDOS, use 34 as scan code */
unsigned int ch;
-
+
if (-1 == SLang_init_tty (abort_char, 0, 1))
{
fprintf (stderr, "Unable to initialize the terminal.\n");
@@ -14,7 +14,7 @@ int main ()
SLang_set_abort_signal (NULL);
fflush (stdout);
-
+
ch = SLang_getkey ();
printf("<< %c >> %d ",ch, SLang_Error);
@@ -22,7 +22,6 @@ int main ()
SLang_reset_tty ();
return 0;
}
-