sorry, debugging stuff

SVN revision: 5125
This commit is contained in:
Tom Gilbert 2001-08-12 13:47:39 +00:00
parent f537ac14e3
commit 49b98d08de
1 changed files with 0 additions and 4 deletions

View File

@ -1024,7 +1024,6 @@ __imlib_LoadImage(const char *file, ImlibProgressFunction progress,
ImlibImage *im;
ImlibLoader *best_loader;
char loader_ret = 0;
struct stat st;
if (!file) return NULL;
if (file[0] == 0) return NULL;
@ -1064,16 +1063,13 @@ __imlib_LoadImage(const char *file, ImlibProgressFunction progress,
/* so produce a new one and load an image into that */
im = __imlib_ProduceImage();
im->file = strdup(file);
printf("file is %s\n", file);
if(__imlib_IsRealFile(file))
{
printf("file %s exists\n", file);
im->real_file = strdup(im->file);
im->key = NULL;
}
else
{
printf("file %s does not exist\n", file);
im->real_file = __imlib_FileRealFile(file);
im->key = __imlib_FileKey(file);
}