diff options
| -rw-r--r-- | lodepng.cpp | 6 | ||||
| -rw-r--r-- | lodepng.h | 4 | 
2 files changed, 5 insertions, 5 deletions
| diff --git a/lodepng.cpp b/lodepng.cpp index 386712e..af18a00 100644 --- a/lodepng.cpp +++ b/lodepng.cpp @@ -1,5 +1,5 @@  /* -LodePNG version 20141126 +LodePNG version 20141130  Copyright (c) 2005-2014 Lode Vandevenne @@ -37,8 +37,6 @@ Rename this file to lodepng.cpp to use it for C++, or to lodepng.c to use it for  #include <fstream>  #endif /*LODEPNG_COMPILE_CPP*/ -#define VERSION_STRING "20141126" -  #if defined(_MSC_VER) && (_MSC_VER >= 1310) /*Visual Studio: A few warning types are not desired here.*/  #pragma warning( disable : 4244 ) /*implicit conversions: not warned by gcc -Wall -Wextra and requires too much casts*/  #pragma warning( disable : 4996 ) /*VS does not like fopen, but fopen_s is not standard C so unusable here*/ @@ -5694,7 +5692,7 @@ unsigned lodepng_encode(unsigned char** out, size_t* outsize,        }        if(alread_added_id_text == 0)        { -        addChunk_tEXt(&outv, "LodePNG", VERSION_STRING); /*it's shorter as tEXt than as zTXt chunk*/ +        addChunk_tEXt(&outv, "LodePNG", LODEPNG_VERSION_STRING); /*it's shorter as tEXt than as zTXt chunk*/        }      }      /*iTXt*/ @@ -1,5 +1,5 @@  /* -LodePNG version 20141126 +LodePNG version 20141130  Copyright (c) 2005-2014 Lode Vandevenne @@ -33,6 +33,8 @@ freely, subject to the following restrictions:  #include <string>  #endif /*__cplusplus*/ +#define LODEPNG_VERSION_STRING "20141130" +  /*  The following #defines are used to create code sections. They can be disabled  to disable code sections, which can give faster compile time and smaller binary. | 
