equal
deleted
inserted
replaced
2858 if (n == 0 && nrow == -1) { |
2858 if (n == 0 && nrow == -1) { |
2859 // This is a MUC room and we can't complete from the beginning of the |
2859 // This is a MUC room and we can't complete from the beginning of the |
2860 // line. Let's try a bit harder and complete the current word. |
2860 // line. Let's try a bit harder and complete the current word. |
2861 row = prev_char(ptr_inputline, inputLine); |
2861 row = prev_char(ptr_inputline, inputLine); |
2862 while (row >= inputLine) { |
2862 while (row >= inputLine) { |
2863 if (!iswalnum(get_char(row)) && get_char(row) != '_') { |
2863 if (iswspace(get_char(row)) || get_char(row) == '(') { |
2864 row = next_char((char*)row); |
2864 row = next_char((char*)row); |
2865 break; |
2865 break; |
2866 } |
2866 } |
2867 if (row == inputLine) |
2867 if (row == inputLine) |
2868 break; |
2868 break; |