diff options
Diffstat (limited to 'testing/toxic/main.c')
-rw-r--r-- | testing/toxic/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/toxic/main.c b/testing/toxic/main.c index 27e3d858..777ed80b 100644 --- a/testing/toxic/main.c +++ b/testing/toxic/main.c | |||
@@ -22,7 +22,7 @@ extern int add_req(uint8_t *public_key); // XXX | |||
22 | 22 | ||
23 | /* Holds status of chat windows */ | 23 | /* Holds status of chat windows */ |
24 | char WINDOW_STATUS[MAX_WINDOW_SLOTS]; | 24 | char WINDOW_STATUS[MAX_WINDOW_SLOTS]; |
25 | #define TOXICVER "0.1.0" //Will be moved to a -D flag later | 25 | //#define TOXICVER "0.1.0" //Will be moved to a -D flag later |
26 | 26 | ||
27 | static ToxWindow windows[MAX_WINDOW_SLOTS]; | 27 | static ToxWindow windows[MAX_WINDOW_SLOTS]; |
28 | static ToxWindow* prompt; | 28 | static ToxWindow* prompt; |
@@ -69,7 +69,7 @@ void on_nickchange(int friendnumber, uint8_t *string, uint16_t length) | |||
69 | } | 69 | } |
70 | } | 70 | } |
71 | 71 | ||
72 | void on_statuschange(int friendnumber, USERSTATUS_KIND kind, uint8_t *string, uint16_t length) | 72 | void on_statuschange(int friendnumber, uint8_t *string, uint16_t length) |
73 | { | 73 | { |
74 | wprintw(prompt->window, "\n(statuschange) %d: %s\n", friendnumber, string); | 74 | wprintw(prompt->window, "\n(statuschange) %d: %s\n", friendnumber, string); |
75 | int i; | 75 | int i; |
@@ -113,7 +113,7 @@ static void init_tox() | |||
113 | m_callback_friendrequest(on_request); | 113 | m_callback_friendrequest(on_request); |
114 | m_callback_friendmessage(on_message); | 114 | m_callback_friendmessage(on_message); |
115 | m_callback_namechange(on_nickchange); | 115 | m_callback_namechange(on_nickchange); |
116 | m_callback_userstatus(on_statuschange); | 116 | m_callback_statusmessage(on_statuschange); |
117 | } | 117 | } |
118 | 118 | ||
119 | void init_window_status() | 119 | void init_window_status() |