aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-03-18 15:39:46 +0100
committerThomas White <taw@physics.org>2020-07-29 18:42:57 +0200
commit555d48431b13d7184c2e4f59aa95eebea12014cb (patch)
treef2d7962c01ed9ff2249514ec22569c7b7ed0474e /src
parent687d4d4d48dd6c98bb72dae4fb00765d942dad8b (diff)
Strip newlines from indexamajig output in GUI
This will be going away soon, anyway.
Diffstat (limited to 'src')
-rw-r--r--src/gui_backend_local.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui_backend_local.c b/src/gui_backend_local.c
index 44e9e7ed..7ef059ab 100644
--- a/src/gui_backend_local.c
+++ b/src/gui_backend_local.c
@@ -49,6 +49,7 @@ static gboolean index_readable(GIOChannel *source, GIOCondition cond,
STATUS("Read error?\n");
return FALSE;
}
+ chomp(line);
STATUS("Got line '%s'\n", line);
g_free(line);