goat3d

diff src/goat3d.cc @ 51:fa5c52ea9d59

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 17 Jan 2014 18:16:09 +0200
parents 498ca7ac7047
children cb5414f406eb
line diff
     1.1 --- a/src/goat3d.cc	Sun Dec 29 06:01:59 2013 +0200
     1.2 +++ b/src/goat3d.cc	Fri Jan 17 18:16:09 2014 +0200
     1.3 @@ -294,7 +294,7 @@
     1.4  
     1.5  GOAT3DAPI void goat3d_set_mtl_attrib_map(struct goat3d_material *mtl, const char *attrib, const char *mapname)
     1.6  {
     1.7 -	(*mtl)[attrib].map = goat3d_clean_filename(mapname);
     1.8 +	(*mtl)[attrib].map = clean_filename(mapname);
     1.9  }
    1.10  
    1.11  GOAT3DAPI const char *goat3d_get_mtl_attrib_map(struct goat3d_material *mtl, const char *attrib)
    1.12 @@ -909,7 +909,7 @@
    1.13  	return ftell((FILE*)uptr);
    1.14  }
    1.15  
    1.16 -std::string goat3d_clean_filename(const char *str)
    1.17 +std::string g3dimpl::clean_filename(const char *str)
    1.18  {
    1.19  	const char *last_slash = strrchr(str, '/');
    1.20  	if(!last_slash) {