From 3c3887bb198c07b50ad3451f228aadfe6fd25168 Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Thu, 11 Dec 2014 17:58:50 -0500 Subject: Deduplicate code and use stdlib in string functions --- src/tile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tile.cpp') diff --git a/src/tile.cpp b/src/tile.cpp index e7e37a4fe..b20aec54a 100644 --- a/src/tile.cpp +++ b/src/tile.cpp @@ -1380,7 +1380,7 @@ bool TextureSource::generateImagePart(std::string part_of_name, return false; } - str_replace_char(part_of_name, '&', '^'); + str_replace(part_of_name, '&', '^'); Strfnd sf(part_of_name); sf.next("{"); std::string imagename_top = sf.next("{"); -- cgit v1.2.3