From: Colin Clark Date: Tue, 28 Mar 2017 18:27:16 +0000 (+0100) Subject: Bug fix: Remote --tell output X-Git-Tag: v1.4~193 X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=commitdiff_plain;h=529b863a529dda3c909878df3265d3246bcf2f3c Bug fix: Remote --tell output Make the output go where it is supposed to go --- diff --git a/src/remote.c b/src/remote.c index 3d11d227..fc7117e8 100644 --- a/src/remote.c +++ b/src/remote.c @@ -536,7 +536,10 @@ static void gr_file_tell(const gchar *text, GIOChannel *channel, gpointer data) LayoutWindow *lw = NULL; /* NULL to force layout_valid() to do some magic */ if (!layout_valid(&lw)) return; if (image_get_path(lw->image)) - printf_term("%s %s\n", GQ_APPNAME, image_get_path(lw->image)); + { + g_io_channel_write_chars(channel, image_get_path(lw->image), -1, NULL, NULL); + g_io_channel_write_chars(channel, "\n", -1, NULL, NULL); + } } static void gr_config_load(const gchar *text, GIOChannel *channel, gpointer data)