diff --git a/src/friendlist.c b/src/friendlist.c index e9723e4..eab45be 100644 --- a/src/friendlist.c +++ b/src/friendlist.c @@ -819,7 +819,7 @@ static void friendlist_onDraw(ToxWindow *self, Tox *m) wattron(self->window, COLOR_PAIR(CYAN)); wprintw(self->window, " Press the"); wattron(self->window, A_BOLD); - wprintw(self->window, " H "); + wprintw(self->window, " h "); wattroff(self->window, A_BOLD); wprintw(self->window, "key for help\n\n"); wattroff(self->window, COLOR_PAIR(CYAN)); diff --git a/src/global_commands.c b/src/global_commands.c index 72ad595..73f5471 100644 --- a/src/global_commands.c +++ b/src/global_commands.c @@ -209,7 +209,7 @@ void cmd_connect(WINDOW *window, ToxWindow *self, Tox *m, int argc, char (*argv) } char *binary_string = hex_string_to_bin(key); - tox_bootstrap_from_address(m, ip, TOX_ENABLE_IPV6_DEFAULT, htons(atoi(port)), (uint8_t *) binary_string); + tox_bootstrap_from_address(m, ip, atoi(port), (uint8_t *) binary_string); free(binary_string); } diff --git a/src/help.c b/src/help.c index 87c676a..1490415 100644 --- a/src/help.c +++ b/src/help.c @@ -77,26 +77,26 @@ static void help_draw_menu(ToxWindow *self) wattroff(win, A_BOLD | COLOR_PAIR(RED)); wattron(win, A_BOLD | COLOR_PAIR(BLUE)); - wprintw(win, " G"); + wprintw(win, " g"); wattroff(win, A_BOLD | COLOR_PAIR(BLUE)); wprintw(win, "lobal commands\n"); wattron(win, A_BOLD | COLOR_PAIR(BLUE)); - wprintw(win, " C"); + wprintw(win, " c"); wattroff(win, A_BOLD | COLOR_PAIR(BLUE)); wprintw(win, "hat commands\n"); wattron(win, A_BOLD | COLOR_PAIR(BLUE)); - wprintw(win, " F"); + wprintw(win, " f"); wattroff(win, A_BOLD | COLOR_PAIR(BLUE)); wprintw(win, "riendlist controls\n"); wattron(win, A_BOLD | COLOR_PAIR(BLUE)); - wprintw(win, " K"); + wprintw(win, " k"); wattroff(win, A_BOLD | COLOR_PAIR(BLUE)); wprintw(win, "ey bindings\n"); - wprintw(win, " E"); + wprintw(win, " e"); wattron(win, A_BOLD | COLOR_PAIR(BLUE)); wprintw(win, "x"); wattroff(win, A_BOLD | COLOR_PAIR(BLUE)); @@ -115,11 +115,11 @@ static void help_draw_bottom_menu(WINDOW *win) wmove(win, y2 - 2, 1); wattron(win, A_BOLD | COLOR_PAIR(BLUE)); - wprintw(win, " M"); + wprintw(win, " m"); wattroff(win, A_BOLD | COLOR_PAIR(BLUE)); wprintw(win, "ain menu |"); - wprintw(win, " E"); + wprintw(win, " e"); wattron(win, A_BOLD | COLOR_PAIR(BLUE)); wprintw(win, "x"); wattroff(win, A_BOLD | COLOR_PAIR(BLUE)); diff --git a/src/toxic.c b/src/toxic.c index 8b49941..147402e 100644 --- a/src/toxic.c +++ b/src/toxic.c @@ -294,8 +294,7 @@ static int load_nodelist(const char *filename) int init_connection_helper(Tox *m, int line) { - return tox_bootstrap_from_address(m, toxNodes.nodes[line], TOX_ENABLE_IPV6_DEFAULT, - toxNodes.ports[line], (uint8_t *) toxNodes.keys[line]); + return tox_bootstrap_from_address(m, toxNodes.nodes[line], toxNodes.ports[line], (uint8_t *) toxNodes.keys[line]); } /* Connects to a random DHT node listed in the DHTnodes file