--- libgig/trunk/src/helper.h 2007/05/12 11:25:04 1179 +++ libgig/trunk/src/helper.h 2007/09/09 10:36:23 1330 @@ -28,6 +28,12 @@ #include #include +#if defined(WIN32) && !HAVE_CONFIG_H +# include "../win32/libgig_private.h" // like config.h, automatically generated by Dev-C++ +# define PACKAGE "libgig" +# define VERSION VER_STRING // VER_STRING defined in libgig_private.h +#endif // WIN32 + #include "RIFF.h" // *************** Helper Functions ************** @@ -168,7 +174,7 @@ ck->Resize(size); char* pData = (char*) ck->LoadChunkData(); strncpy(pData, s.c_str(), size); - } else if (s != "" || sDefault != "") { // create chunk + } else if (s != "" || sDefault != "" || bUseFixedLengthStrings) { // create chunk const std::string& sToSave = (s != "") ? s : sDefault; if (!bUseFixedLengthStrings) size = sToSave.size() + 1; ck = lstINFO->AddSubChunk(ChunkID, size);