Revision: 13537
          http://sourceforge.net/p/skim-app/code/13537
Author:   hofman
Date:     2023-07-26 09:16:05 +0000 (Wed, 26 Jul 2023)
Log Message:
-----------
don't get localizedDescription twice

Modified Paths:
--------------
    trunk/NSError_SKExtensions.m

Modified: trunk/NSError_SKExtensions.m
===================================================================
--- trunk/NSError_SKExtensions.m        2023-07-25 23:18:43 UTC (rev 13536)
+++ trunk/NSError_SKExtensions.m        2023-07-26 09:16:05 UTC (rev 13537)
@@ -82,7 +82,7 @@
         if ([descriptions count] > max)
             description = [[[descriptions subarrayWithRange:NSMakeRange(0, 
max)] componentsJoinedByString:@"\n"] stringByAppendingFormat:@"\n%C", 
ELLIPSIS_CHARACTER];
         else
-            description = [[descriptions valueForKey:@"localizedDescription"] 
componentsJoinedByString:@"\n"];
+            description = [descriptions componentsJoinedByString:@"\n"];
         [userInfo setObject:description forKey:NSLocalizedDescriptionKey];
         error = [NSError errorWithDomain:[error domain] code:[error code] 
userInfo:userInfo];
         [userInfo release];

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to