about summary refs log tree commit diff
path: root/src/tools/tileset_bordercopy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/tileset_bordercopy.cpp')
-rw-r--r--src/tools/tileset_bordercopy.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/tileset_bordercopy.cpp b/src/tools/tileset_bordercopy.cpp
index 14b0ed14..b0d9280b 100644
--- a/src/tools/tileset_bordercopy.cpp
+++ b/src/tools/tileset_bordercopy.cpp
@@ -9,7 +9,7 @@ typedef struct
 	unsigned char r, g, b, a;
 } CPixel;
 
-static void TilesetBorderfix(int w, int h, CPixel *pSrc, CPixel *pDest)
+static void TilesetBordercopy(int w, int h, CPixel *pSrc, CPixel *pDest)
 {
 	int TileW = w/16;
 	int TileH = h/16;
@@ -41,7 +41,7 @@ int FixFile(const char *pFileName)
 
 	if(Png.color_type != PNG_TRUECOLOR_ALPHA)
 	{
-		dbg_msg("tileset_borderfix", "%s: not an RGBA image", pFileName);
+		dbg_msg("tileset_bordercopy", "%s: not an RGBA image", pFileName);
 		return 1;
 	}
 
@@ -53,7 +53,7 @@ int FixFile(const char *pFileName)
 	png_get_data(&Png, (unsigned char *)pBuffer[0]);
 	png_close_file(&Png);
 
-	TilesetBorderfix(w, h, pBuffer[0], pBuffer[1]);
+	TilesetBordercopy(w, h, pBuffer[0], pBuffer[1]);
 
 	// save here
 	png_open_file_write(&Png, pFileName);