finch/gntconv.c

branch
release-2.x.y
changeset 39647
50ac98a0ecb1
parent 39644
54ed9db5e2ff
equal deleted inserted replaced
39646:5323594ddc26 39647:50ac98a0ecb1
703 } 703 }
704 704
705 static void 705 static void
706 completion_cb(GntEntry *entry, const char *start, const char *end) 706 completion_cb(GntEntry *entry, const char *start, const char *end)
707 { 707 {
708 if (start == entry->start && *start != '/') 708 if (start == gnt_entry_get_text(entry) && *start != '/')
709 gnt_widget_key_pressed(GNT_WIDGET(entry), ": "); 709 gnt_widget_key_pressed(GNT_WIDGET(entry), ": ");
710 } 710 }
711 711
712 static void 712 static void
713 gg_setup_commands(FinchConv *fconv, gboolean remove_first) 713 gg_setup_commands(FinchConv *fconv, gboolean remove_first)

mercurial