Commit c0ab1661 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

when constructing an URI list, don't add a newline character after the

2003-11-22  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdnd.c (gimp_dnd_get_file_data): when constructing
	an URI list, don't add a newline character after the last item.
parent fafc492a
2003-11-22 Sven Neumann <sven@gimp.org>
* app/widgets/gimpdnd.c (gimp_dnd_get_file_data): when constructing
an URI list, don't add a newline character after the last item.
2003-11-22 Sven Neumann <sven@gimp.org>
 
* app/gui/preferences-dialog.c: let the templates editor expand.
......@@ -920,13 +920,18 @@ gimp_dnd_get_file_data (GtkWidget *widget,
{
if (vals)
{
gchar *tmp = g_strconcat (vals, list->data, "\n", NULL);
gchar *tmp = g_strconcat (vals,
list->data,
list->next ? "\n" : NULL,
NULL);
g_free (vals);
vals = tmp;
}
else
{
vals = g_strconcat (list->data, "\n", NULL);
vals = g_strconcat (list->data,
list->next ? "\n" : NULL,
NULL);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment