mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-05 05:46:44 +02:00
made error handling more consistent and added exit function
This commit is contained in:
@ -21,6 +21,9 @@
|
||||
#define N_DEFAULT_WINS 3
|
||||
|
||||
#define UNKNOWN_NAME "Unknown"
|
||||
|
||||
#define EXIT_SUCCESS 0
|
||||
#define EXIT_FAILURE 1
|
||||
|
||||
#ifndef TOXICVER
|
||||
#define TOXICVER "NOVER" //Use the -D flag to set this
|
||||
@ -85,4 +88,3 @@ int add_window(Tox *m, ToxWindow w);
|
||||
void del_window(ToxWindow *w);
|
||||
void set_active_window(int ch);
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user