* GormCore/GormWrapperLoader.m: Correct problem introduced in

previous commit in [GormWrapperLoader loadFileWrapper: 
	withDocument:];
	


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23297 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2006-08-15 21:51:48 +00:00
parent 1a0b921b56
commit 6aba750c3b
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2006-08-15 17:50-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormWrapperLoader.m: Correct problem introduced in
previous commit in [GormWrapperLoader loadFileWrapper:
withDocument:];
2006-08-15 02:16-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormFilePrefsManager.h: Add declaration for

View file

@ -73,9 +73,9 @@ static GormWrapperLoaderFactory *_sharedWrapperLoaderFactory = nil;
while((key = [enumerator nextObject]) != nil)
{
NSFileWrapper *fw = [fileWrappers objectForKey: key];
NSData *fileData = [fw regularFileContents];
if([fw isRegularFile])
{
NSData *fileData = [fw regularFileContents];
if ([imageFileTypes containsObject: [key pathExtension]])
{
[images addObject: [GormImage imageForData: fileData