about summary refs log tree commit diff
path: root/src/tools/tileset_bordercopy.cpp
diff options
context:
space:
mode:
authorheinrich5991 <heinrich5991@gmail.com>2011-11-23 00:10:27 +0100
committeroy <Tom_Adams@web.de>2011-12-29 14:35:51 +0100
commit572259291647b09e199b00db3559d490cbc1cd2b (patch)
treefdbda7a3df5b89c03a9efc60f1b5a9da7735826a /src/tools/tileset_bordercopy.cpp
parentf76c7a8873aa4019c64c01d3a8ed4c49f8de5609 (diff)
downloadzcatch-572259291647b09e199b00db3559d490cbc1cd2b.tar.gz
zcatch-572259291647b09e199b00db3559d490cbc1cd2b.zip
added tileset_borderadd, aesthetical changes
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);