Skip to content

Commit

Permalink
Merge pull request rordenlab#842 from rordenlab/revert-841-patch-1
Browse files Browse the repository at this point in the history
Revert "Fix corrupted raw nrrd file output on Windows"
  • Loading branch information
neurolabusc authored Jul 31, 2024
2 parents 949804b + 52a60d5 commit 6944cad
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 6944cad

Please sign in to comment.