Mercurial > ~mikael > mcabber > hg
comparison mcabber/mcabber/screen.c @ 1793:c3ddb52f1055
Rename completion_muc_suffix to muc_completion_suffix
author | Myhailo Danylenko <isbear@ukrpost.net> |
---|---|
date | Mon, 15 Mar 2010 16:21:40 +0200 |
parents | 6e0a8bfb3a01 |
children | b135572fcd26 |
comparison
equal
deleted
inserted
replaced
1792:572a635234e0 | 1793:c3ddb52f1055 |
---|---|
3550 guint n; | 3550 guint n; |
3551 char *prefix = g_strndup(row, ptr_inputline-row); | 3551 char *prefix = g_strndup(row, ptr_inputline-row); |
3552 // Init completion | 3552 // Init completion |
3553 n = new_completion(prefix, list, | 3553 n = new_completion(prefix, list, |
3554 (compl_categ == COMPL_RESOURCE ? | 3554 (compl_categ == COMPL_RESOURCE ? |
3555 settings_opt_get("completion_muc_suffix") : NULL)); | 3555 settings_opt_get("muc_completion_suffix") : NULL)); |
3556 g_free(prefix); | 3556 g_free(prefix); |
3557 if (n == 0 && nrow == -1) { | 3557 if (n == 0 && nrow == -1) { |
3558 // This is a MUC room and we can't complete from the beginning of the | 3558 // This is a MUC room and we can't complete from the beginning of the |
3559 // line. Let's try a bit harder and complete the current word. | 3559 // line. Let's try a bit harder and complete the current word. |
3560 row = prev_char(ptr_inputline, inputLine); | 3560 row = prev_char(ptr_inputline, inputLine); |