From 8456b7235db488e5a0ecd77436a5e30e2a2f70df Mon Sep 17 00:00:00 2001 From: rfm Date: Mon, 21 Oct 2024 21:18:10 +0100 Subject: [PATCH] Fix invert logic --- Tools/autogsdoc.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/autogsdoc.m b/Tools/autogsdoc.m index 6d5b099dc..360c63fd5 100644 --- a/Tools/autogsdoc.m +++ b/Tools/autogsdoc.m @@ -2220,7 +2220,7 @@ standard PropertyList format (not the XML format of OS X), using s = [documentationDirectory stringByAppendingPathComponent: @"index.html"]; - if ([d writeToFile: s atomically: YES]) + if ([d writeToFile: s atomically: YES] == NO) { NSLog(@"Sorry unable to write %@ to %@", htmlfile, s); }