Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 308739
Collapse All | Expand All

(-)src/SDL/i_sshot.c.old (-2 / +2 lines)
Lines 231-237 Link Here
231
  if (fp)
231
  if (fp)
232
  {
232
  {
233
    png_struct *png_ptr = png_create_write_struct(
233
    png_struct *png_ptr = png_create_write_struct(
234
        PNG_LIBPNG_VER_STRING, png_error_ptr_NULL, error_fn, warning_fn);
234
        PNG_LIBPNG_VER_STRING, NULL, error_fn, warning_fn);
235
235
236
    if (png_ptr)
236
    if (png_ptr)
237
    {
237
    {
Lines 279-285 Link Here
279
            break;
279
            break;
280
        }
280
        }
281
      }
281
      }
282
      png_destroy_write_struct(&png_ptr,  png_infopp_NULL);
282
      png_destroy_write_struct(&png_ptr, NULL);
283
    }
283
    }
284
    fclose(fp);
284
    fclose(fp);
285
  }
285
  }

Return to bug 308739