Loading

Paste #pfjwbt9qi

  1. Index: src/saveload/saveload.cpp
  2. ===================================================================
  3. --- src/saveload/saveload.cpp   (revision 27540)
  4. +++ src/saveload/saveload.cpp   (working copy)
  5. @@ -2007,7 +2007,7 @@
  6.         if (tmp[0] != lzo_adler32(0, out, size + sizeof(uint32))) SlErrorCorrupt("Bad checksum");
  7.  
  8.         /* Decompress */
  9. -       lzo1x_decompress_safe(out + sizeof(uint32) * 1, size, buf, &len, NULL);
  10. +       lzo1x_decompress(out + sizeof(uint32) * 1, size, buf, &len, NULL);
  11.         return len;
  12.     }
  13.  };

Comments