oops saver does rescan loader - so unless you laoded an image no laoders

will be around... and it wont get rescanned on save.. :)


SVN revision: 1481
This commit is contained in:
Carsten Haitzler 1999-12-02 21:02:00 +00:00
parent 71af6323fb
commit 770708c381
1 changed files with 3 additions and 1 deletions

View File

@ -1136,7 +1136,9 @@ __imlib_SaveImage(ImlibImage *im, char *file,
*er = LOAD_ERROR_FILE_DOES_NOT_EXIST;
return;
}
/* fidn the laoder for the format - if its null use the extension */
/* ok - just check all our loaders are up to date */
__imlib_RescanLoaders();
/* find the laoder for the format - if its null use the extension */
l = __imlib_FindBestLoaderForFileFormat(file, im->format);
/* no loader - abort */
if (!l)