Commit 4b2f14bb authored by Dinoop Thomas's avatar Dinoop Thomas Committed by Alexander Larsson
Browse files

Use strchr instead of strrchr to parse the base name from the file name.

2005-06-03  Dinoop Thomas <dinoop.thomas@wipro.com>

	* libnautilus-private/nautilus-file-operations.c:
	(parse_previous_duplicate_name): Use strchr instead of strrchr to parse the
	base name from the file name. (Fixes #306341).
parent baba5ad9
2005-06-03 Dinoop Thomas <dinoop.thomas@wipro.com>
* libnautilus-private/nautilus-file-operations.c:
(parse_previous_duplicate_name): Use strchr instead of strrchr to parse the
base name from the file name. (Fixes #306341).
2005-06-28 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-sidebar.[ch]:
......
......@@ -1327,7 +1327,7 @@ parse_previous_duplicate_name (const char *name,
g_assert (name[0] != '\0');
*suffix = strrchr (name + 1, '.');
*suffix = strchr (name + 1, '.');
if (*suffix == NULL || (*suffix)[1] == '\0') {
/* no suffix */
*suffix = "";
......
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