Skip to content

Commit

Permalink
Revert "Fix corrupted raw nrrd file output on Windows"
Browse files Browse the repository at this point in the history
  • Loading branch information
neurolabusc authored Jul 31, 2024
1 parent 949804b commit 52a60d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion console/nii_dicom_batch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4266,7 +4266,7 @@ int nii_saveNRRD(char *niiFilename, struct nifti_1_header hdr, unsigned char *im
strcat(fname, ".nhdr"); //nrrd or nhdr
else
strcat(fname, ".nrrd"); //nrrd or nhdr
FILE *fp = fopen(fname, "wb");
FILE *fp = fopen(fname, "w");
fprintf(fp, "NRRD0005\n");
fprintf(fp, "# Complete NRRD file format specification at:\n");
fprintf(fp, "# http://teem.sourceforge.net/nrrd/format.html\n");
Expand Down

0 comments on commit 52a60d5

Please sign in to comment.