Revision: 28395
http://sourceforge.net/p/bibdesk/svn/28395
Author: hofman
Date: 2023-10-06 08:54:37 +0000 (Fri, 06 Oct 2023)
Log Message:
-----------
check variable first
Modified Paths:
--------------
trunk/bibdesk/BDSKFiler.m
Modified: trunk/bibdesk/BDSKFiler.m
===================================================================
--- trunk/bibdesk/BDSKFiler.m 2023-10-05 16:38:42 UTC (rev 28394)
+++ trunk/bibdesk/BDSKFiler.m 2023-10-06 08:54:37 UTC (rev 28395)
@@ -238,7 +238,7 @@
[info setValue:NSLocalizedString(@"Move anyway.",@"")
forKey:BDSKFilerFixKey];
[errorInfoDicts addObject:info];
- } else if ([[newPath lastPathComponent] length] > 255 &&
(ignoredError & BDSKFilerErrorFileNameTooLong) == 0) {
+ } else if ((ignoredError & BDSKFilerErrorFileNameTooLong) == 0
&& [[newPath lastPathComponent] length] > 255) {
[info setValue:NSLocalizedString(@"The file name is too
long.",@"") forKey:BDSKFilerStatusKey];
[info setValue:[NSNumber numberWithInteger:ignoredError |
BDSKFilerErrorFileNameTooLong] forKey:BDSKFilerFlagKey];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit