diff options
author | James Booth <boothj5@gmail.com> | 2012-02-20 01:42:29 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-02-20 01:42:29 +0000 |
commit | 7dfea94c88a876c51b86b46578c4cf409605a6c3 (patch) | |
tree | 6d89f0cc73533e1af28dd08bfa0fa7b4ce3766ec /main.c | |
parent | b3f42cd300e703e4d411ed03cef138462ff34fbf (diff) | |
download | profani-tty-7dfea94c88a876c51b86b46578c4cf409605a6c3.tar.gz |
Merged input processing loops
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/main.c b/main.c index 50a9f1a5..103b4190 100644 --- a/main.c +++ b/main.c @@ -4,15 +4,11 @@ int main(void) { - int exit_status; - log_init(); gui_init(); - do { - exit_status = profanity_start(); - } while (exit_status == LOGIN_FAIL); - + profanity_main(); + gui_close(); log_close(); |