diff --git a/prompt.c b/prompt.c index 22d9eb9..0cd1073 100644 --- a/prompt.c +++ b/prompt.c @@ -125,8 +125,8 @@ static void execute(ToxWindow* self, char* cmd) { xx[2] = '\0'; if(sscanf(xx, "%02x", &x) != 1) { - wprintw(self->window, "Invalid ID.\n"); - return; + wprintw(self->window, "Invalid ID.\n"); + return; } id_bin[i] = x;