diff --git a/ChangeLog b/ChangeLog index 3dc890a4d..fe0604e6c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,8 @@ * Source/GSFileHandle.m: ([-availabledata])a fix logic of non-blocking I/O setting. + * Source/NSBundle.m: ([-pathForResource:ofType:inDirectory:]) + ignore versioning on windows. 2006-02-05 Richard Frith-Macdonald diff --git a/Source/NSBundle.m b/Source/NSBundle.m index be1dfc75d..4ba2a4ab3 100644 --- a/Source/NSBundle.m +++ b/Source/NSBundle.m @@ -1315,10 +1315,12 @@ _bundle_load_callback(Class theClass, struct objc_category *theCategory) { NSString *rootPath; +#if !defined(__MINGW32__) if (_frameworkVersion) rootPath = [NSString stringWithFormat:@"%@/Versions/%@", [self bundlePath], _frameworkVersion]; else +#endif rootPath = [self bundlePath]; return [NSBundle pathForResource: name