diff --git a/cfg/global_vars.mk b/cfg/global_vars.mk index 9a7d459..37a5283 100644 --- a/cfg/global_vars.mk +++ b/cfg/global_vars.mk @@ -1,5 +1,5 @@ # Version -TOXIC_VERSION = 0.4.7 +TOXIC_VERSION = 0.5.0 REV = $(shell git rev-list HEAD --count) VERSION = $(TOXIC_VERSION)_r$(REV) diff --git a/src/execute.c b/src/execute.c index f87525b..0682605 100644 --- a/src/execute.c +++ b/src/execute.c @@ -170,9 +170,5 @@ void execute(WINDOW *w, ToxWindow *self, Tox *m, const char *input, int mode) if (do_command(w, self, m, num_args, GLOBAL_NUM_COMMANDS, global_commands, args) == 0) return; -#ifdef _SOUND_NOTIFY - sound_notify(self, error, 0, NULL); -#else - line_info_add(self, NULL, NULL, NULL, SYS_MSG, 0, 0, "Invalid command."); -#endif + line_info_add(self, NULL, NULL, NULL, SYS_MSG, 0, 0, "Invalid command."); }