diff --git a/nufxlib/FileIO.c b/nufxlib/FileIO.c index 02d3888..fc0a441 100644 --- a/nufxlib/FileIO.c +++ b/nufxlib/FileIO.c @@ -642,7 +642,7 @@ static NuError Nu_PrepareForWriting(NuArchive* pArchive, if (prepRsrc) { strcpy(path, pathnameUNI); strcat(path, "/rsrc"); - pathname = path; + pathnameUNI = path; } # endif if (!(pFileInfo->unixMode & S_IWUSR)) {