diff --git a/Source/Additions/GSXML.m b/Source/Additions/GSXML.m index 86722e9a6..be0958d03 100644 --- a/Source/Additions/GSXML.m +++ b/Source/Additions/GSXML.m @@ -2576,7 +2576,7 @@ loadEntityFunction(void *ctx, if ([data length] > 0) { file = [@"/tmp" stringByAppendingPathComponent: local]; - [data writeToFile: local atomically: NO]; + [data writeToFile: file atomically: NO]; } } }