[Github-comments] [geany/geany] Geany's context again (#1836)

aplsimple notifications at xxxxx
Sat Apr 21 09:13:03 UTC 2018


It seems the following corrections of **src/callback.c** would be sufficient
(marked with //apl):

```
void on_context_action1_activate(GtkMenuItem *menuitem, gpointer user_data)
<...>
	/* substitute the wildcard %s and run the command if it is non empty */
//apl	if (G_LIKELY(!EMPTY(command)))
	{
	gchar *command_line = g_strdup(command);
        command_line = build_replace_placeholder(doc, command_line); //apl
	utils_str_replace_all(&command_line, "%s", word);
<...>
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1836#issuecomment-383280101
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20180421/1c7ce3e6/attachment.html>


More information about the Github-comments mailing list