mcabber/mcabber/screen.c
changeset 1927 3e3e73bb43f5
parent 1918 0fa6df17bc5c
child 1935 a06d9eab14c5
equal deleted inserted replaced
1926:c1f9a4d47e05 1927:3e3e73bb43f5
  3617       compl_categ = 0;
  3617       compl_categ = 0;
  3618   }
  3618   }
  3619 
  3619 
  3620   if (!completion_started) {
  3620   if (!completion_started) {
  3621     guint dynlist;
  3621     guint dynlist;
  3622     GSList *list = compl_get_category_list(compl_categ, &dynlist);
  3622     GSList *list;
       
  3623 
       
  3624     if (!compl_categ)
       
  3625       return; // Nothing to complete
       
  3626 
       
  3627     list = compl_get_category_list(compl_categ, &dynlist);
  3623     if (list) {
  3628     if (list) {
  3624       guint n;
  3629       guint n;
  3625       char *prefix = g_strndup(row, ptr_inputline-row);
  3630       char *prefix = g_strndup(row, ptr_inputline-row);
  3626       // Init completion
  3631       // Init completion
  3627       n = new_completion(prefix, list,
  3632       n = new_completion(prefix, list,