1
1
mirror of https://github.com/profanity-im/profanity.git synced 2025-04-22 03:32:49 -04:00
profanity/main.c

20 lines
292 B
C
Raw Normal View History

2012-02-09 22:24:03 +00:00
#include "log.h"
#include "windows.h"
#include "profanity.h"
int main(void)
{
2012-02-17 00:42:41 +00:00
int exit_status = LOGIN_FAIL;
2012-02-09 22:24:03 +00:00
log_init();
gui_init();
2012-02-17 00:42:41 +00:00
while (exit_status == LOGIN_FAIL) {
exit_status = profanity_start();
}
2012-02-09 22:24:03 +00:00
gui_close();
log_close();
return 0;
}