1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-12-24 00:43:24 +01:00

Update audio_call.c

Fixed 2 small typos.
This commit is contained in:
Imperative 2014-05-24 15:35:10 +02:00
parent 445f5aa1fd
commit 10d47d1ac6

View File

@ -559,7 +559,7 @@ void cmd_answer(WINDOW *window, ToxWindow *self, Tox *m, int argc, char (*argv)[
if ( error != ErrorNone ) { if ( error != ErrorNone ) {
if ( error == ErrorInvalidState ) error_str = "Cannot answer in invalid state!"; if ( error == ErrorInvalidState ) error_str = "Cannot answer in invalid state!";
else if ( error == ErrorNoCall ) error_str = "No incomming call!"; else if ( error == ErrorNoCall ) error_str = "No incoming call!";
else error_str = "Internal error!"; else error_str = "Internal error!";
goto on_error; goto on_error;
@ -590,7 +590,7 @@ void cmd_reject(WINDOW *window, ToxWindow *self, Tox *m, int argc, char (*argv)[
if ( error != ErrorNone ) { if ( error != ErrorNone ) {
if ( error == ErrorInvalidState ) error_str = "Cannot reject in invalid state!"; if ( error == ErrorInvalidState ) error_str = "Cannot reject in invalid state!";
else if ( error == ErrorNoCall ) error_str = "No incomming call!"; else if ( error == ErrorNoCall ) error_str = "No incoming call!";
else error_str = "Internal error!"; else error_str = "Internal error!";
goto on_error; goto on_error;