path: root/fixWriteLog.diff
diff options
authorChristoph Haag2016-09-07 08:26:58 +0200
committerChristoph Haag2016-09-07 11:09:28 +0200
commit94b5ca6d2e8f7818517f8deff4da64ac17131299 (patch)
tree4854a2d02e7239598b4013b5746e2edfea8dcbba /fixWriteLog.diff
parentf453e1e1c8bed8f52ad8573e4b95b51c9c90b6bc (diff)
new version with patch
Diffstat (limited to 'fixWriteLog.diff')
1 files changed, 15 insertions, 0 deletions
diff --git a/fixWriteLog.diff b/fixWriteLog.diff
new file mode 100644
index 00000000000..7ed9d3e8095
--- /dev/null
+++ b/fixWriteLog.diff
@@ -0,0 +1,15 @@
+diff --git a/src/files.h b/src/files.h
+index 8b8b6c0..79e387b 100644
+--- a/src/files.h
++++ b/src/files.h
+@@ -56,8 +56,8 @@ void SavePNG16(const char *filename, int quality, int width, int height, sRGB16*
+ void SavePNG16Alpha(const char *filename, int quality, int width, int height, cImage *image);
+ void SaveFromTilesPNG16(const char *filename, int width, int height, int tiles);
+ bool FileIfExists(const char *filename);
+-void WriteLog(const char *text);
+-void WriteLogDouble(const char *text, double value);
++#define WriteLog(text) if(0)
++#define WriteLogDouble(text,value) if(0)
+ int fcopy(const char *source, const char *dest);
+ void BufferNormalize16(sRGB16 *buffer, unsigned int size);
+ //void SaveAllImageLayers(const char *filename, cImage *image);