Add plugin wins to /win and /close autocompletion

This commit is contained in:
James Booth
2016-03-01 00:03:11 +00:00
parent da7e59bc86
commit 7fdf50eb31
2 changed files with 18 additions and 4 deletions

View File

@@ -350,7 +350,7 @@ win_get_string(ProfWin *window)
{
ProfPluginWin *pluginwin = (ProfPluginWin*)window;
GString *gstring = g_string_new("");
g_string_append_printf(gstring, "%s plugin", pluginwin->tag);
g_string_append_printf(gstring, "Plugin: %s", pluginwin->tag);
char *res = gstring->str;
g_string_free(gstring, FALSE);
return res;