mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-26 16:03:27 +01:00
Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core
This commit is contained in:
commit
c85d41bad0
2
main.c
2
main.c
@ -50,7 +50,7 @@ void on_request(uint8_t* public_key, uint8_t* data, uint16_t length) {
|
|||||||
void on_message(int friendnumber, uint8_t* string, uint16_t length) {
|
void on_message(int friendnumber, uint8_t* string, uint16_t length) {
|
||||||
size_t i;
|
size_t i;
|
||||||
|
|
||||||
wprintw(prompt->window, "\n(message) %d: %s!\n", friendnumber, string);
|
wprintw(prompt->window, "\n(message) %d: %s\n", friendnumber, string);
|
||||||
|
|
||||||
for(i=0; i<w_num; i++) {
|
for(i=0; i<w_num; i++) {
|
||||||
if(windows[i].onMessage != NULL)
|
if(windows[i].onMessage != NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user