mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-23 03:03:02 +01:00
fix
This commit is contained in:
parent
d1153f96ca
commit
675c8fa89f
@ -237,7 +237,7 @@ static void chat_onFileSendRequest(ToxWindow *self, Tox *m, int num, uint8_t fil
|
|||||||
alert_window(self, WINDOW_ALERT_2, true);
|
alert_window(self, WINDOW_ALERT_2, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void close_file_receiver(num, filenum)
|
static void close_file_receiver(int num, int filenum)
|
||||||
{
|
{
|
||||||
friends[num].file_receiver.pending[filenum] = false;
|
friends[num].file_receiver.pending[filenum] = false;
|
||||||
FILE *file = friends[num].file_receiver.files[filenum];
|
FILE *file = friends[num].file_receiver.files[filenum];
|
||||||
@ -254,7 +254,6 @@ static void chat_onFileControl(ToxWindow *self, Tox *m, int num, uint8_t receive
|
|||||||
|
|
||||||
ChatContext *ctx = self->chatwin;
|
ChatContext *ctx = self->chatwin;
|
||||||
uint8_t *filename;
|
uint8_t *filename;
|
||||||
bool close_in_file = false;
|
|
||||||
|
|
||||||
if (receive_send == 0)
|
if (receive_send == 0)
|
||||||
filename = friends[num].file_receiver.filenames[filenum];
|
filename = friends[num].file_receiver.filenames[filenum];
|
||||||
|
Loading…
Reference in New Issue
Block a user