#922 Fixing Image::formatString() on Windows

This commit is contained in:
Robin Mills
2015-05-01 06:36:50 +00:00
parent 0cf64e2542
commit b2be263206
+1 -1
View File
@@ -365,7 +365,7 @@ namespace Exiv2 {
int again = 4;
int rc = -1;
if (rc < 0 && again--) {
while (rc < 0 && again--) {
if ( buffer ) delete[] buffer;
need *= 2 ;
buffer = new char[need];