Tidied initialisation

This commit is contained in:
James Booth
2012-03-01 01:44:47 +00:00
parent 0dac914813
commit 723a99540d
3 changed files with 18 additions and 17 deletions

12
main.c
View File

@@ -23,8 +23,6 @@
#include <stdio.h>
#include <string.h>
#include "log.h"
#include "windows.h"
#include "profanity.h"
int main(int argc, char **argv)
@@ -47,13 +45,9 @@ int main(int argc, char **argv)
}
}
log_init();
gui_init();
profanity_main(disable_tls);
gui_close();
log_close();
profanity_init(disable_tls);
profanity_run();
profanity_shutdown();
return 0;
}