1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Fixed comment spacing

This commit is contained in:
James Booth 2013-01-06 00:24:11 +00:00
parent b328f368b0
commit b32f58e22c

View File

@ -146,7 +146,6 @@ inp_get_char(char *input, int *size)
wget_wch(inp_win, &ch); wget_wch(inp_win, &ch);
gboolean in_command = FALSE; gboolean in_command = FALSE;
if ((display_size > 0 && input[0] == '/') || if ((display_size > 0 && input[0] == '/') ||
(display_size == 0 && ch == '/')) { (display_size == 0 && ch == '/')) {
in_command = TRUE; in_command = TRUE;
@ -209,7 +208,7 @@ inp_get_char(char *input, int *size)
wprintw(inp_win, bytes); wprintw(inp_win, bytes);
display_size++; display_size++;
// if gone over screen size follow input // if gone over screen size follow input
int rows, cols; int rows, cols;
getmaxyx(stdscr, rows, cols); getmaxyx(stdscr, rows, cols);
if (display_size - pad_start > cols-2) { if (display_size - pad_start > cols-2) {