From 2473c744d17c2a7eb57d7e6af6f57ebbae365cba Mon Sep 17 00:00:00 2001 From: rfm Date: Thu, 23 Nov 2023 17:30:51 +0000 Subject: [PATCH] fix accidentally deleted line --- Source/NSBundle.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/NSBundle.m b/Source/NSBundle.m index cdf19134b..1fbb0dcb5 100644 --- a/Source/NSBundle.m +++ b/Source/NSBundle.m @@ -1014,6 +1014,7 @@ + (NSString*) _versionForLibrary: (NSString**)name { ver = [[libraryName substringFromIndex: NSMaxRange(r)] stringByReplacingString: @"_" withString: @"."]; + libraryName = [libraryName substringToIndex: r.location]; } } #elif defined(__APPLE__)