Commit b67f0f23 authored by Gildas Bazin's avatar Gildas Bazin

* modules/gui/skins/src/themeloader.cpp: small fix for tgz skins.
parent 86768975
......@@ -2,7 +2,7 @@
* themeloader.cpp: ThemeLoader class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: themeloader.cpp,v 1.11 2003/06/05 21:22:27 gbazin Exp $
* $Id: themeloader.cpp,v 1.12 2003/06/06 14:50:49 gbazin Exp $
*
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
......@@ -331,10 +331,10 @@ int tar_extract_all( TAR *t, char *prefix )
* Always expect complete blocks to process
* the tar information.
*/
if(len != BLOCKSIZE)
if( len != 0 && len != BLOCKSIZE )
{
fprintf(stderr, "gzread: incomplete block read");
//return -1;
return -1;
}
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment