Revision: 12920
          http://sourceforge.net/p/skim-app/code/12920
Author:   hofman
Date:     2022-05-12 09:06:26 +0000 (Thu, 12 May 2022)
Log Message:
-----------
fix error code

Modified Paths:
--------------
    trunk/SkimNotes/SKNExtendedAttributeManager.m

Modified: trunk/SkimNotes/SKNExtendedAttributeManager.m
===================================================================
--- trunk/SkimNotes/SKNExtendedAttributeManager.m       2022-05-11 14:23:13 UTC 
(rev 12919)
+++ trunk/SkimNotes/SKNExtendedAttributeManager.m       2022-05-12 09:06:26 UTC 
(rev 12920)
@@ -422,7 +422,7 @@
                                                                error:&anError];
     BOOL success;
     if (nil == data) {
-        if (error) *error = [NSError errorWithDomain:SKNSkimNotesErrorDomain 
code:SKNPlistDeserializationFailedError userInfo:[NSDictionary 
dictionaryWithObjectsAndKeys:path, NSFilePathErrorKey, [anError 
localizedDescription], NSLocalizedDescriptionKey, nil]];
+        if (error) *error = [NSError errorWithDomain:SKNSkimNotesErrorDomain 
code:SKNPlistSerializationFailedError userInfo:[NSDictionary 
dictionaryWithObjectsAndKeys:path, NSFilePathErrorKey, [anError 
localizedDescription], NSLocalizedDescriptionKey, nil]];
         success = NO;
     } else {
         // if we don't split and the data is too long, compress the data using 
bzip to save space

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



_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to