Commit 34854513 authored by Christian Neumair's avatar Christian Neumair Committed by Christian Neumair

Don't append final newline for textual URIs. Fixes #360441.

2006-10-19  Christian Neumair  <chris@gnome-de.org>

	* src/file-manager/fm-directory-view.c:
	(convert_file_list_to_string):
	Don't append final newline for textual URIs.
	Fixes #360441.
parent 7a2b9614
2006-10-19 Christian Neumair <chris@gnome-de.org>
* src/file-manager/fm-directory-view.c:
(convert_file_list_to_string):
Don't append final newline for textual URIs.
Fixes #360441.
2006-10-19 Christian Neumair <chris@gnome-de.org>
* src/nautilus-main.c: (main):
......
......@@ -5893,8 +5893,11 @@ convert_file_list_to_string (GList *files,
} else {
g_string_append (uris, uri);
}
g_string_append_c (uris, '\n');
/* skip newline for last element */
if (node->next != NULL) {
g_string_append_c (uris, '\n');
}
} else {
g_string_append_c (uris, '\n');
g_string_append (uris, uri);
......
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