changeset 253:b30d0e16b961 trunk

[svn] Do not discard pointer target type, and do not use deprecated g_basename function.
author chainsaw
date Sun, 04 Dec 2005 06:26:12 -0800
parents 085b94826d27
children 5de006f3d342
files Plugins/Input/mikmod/plugin.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/mikmod/plugin.c	Sun Dec 04 06:01:40 2005 -0800
+++ b/Plugins/Input/mikmod/plugin.c	Sun Dec 04 06:26:12 2005 -0800
@@ -282,7 +282,7 @@
 		ext = strrchr(temp, '.');
 		if (ext)
 			*ext = '\0';
-		input->file_name = g_basename(temp);
+		input->file_name = g_path_get_basename(temp);
 		input->file_ext = ext ? ext+1 : NULL;
 		input->file_path = temp;