Skip to content

Commit

Permalink
Fixed whitespace in mz_stream_split_open_disk.
Browse files Browse the repository at this point in the history
  • Loading branch information
nmoinvaz committed Oct 23, 2024
1 parent 40416c3 commit 9aeff7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mz_strm_split.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ static int32_t mz_stream_split_open_disk(void *stream, int32_t number_disk) {

/* If disk part doesn't exist during reading then return MZ_EXIST_ERROR */
if (disk_part == MZ_OPEN_MODE_READ) {
if(strcmp(split->path_disk, split->path_cd) == 0) {
if (strcmp(split->path_disk, split->path_cd) == 0) {
err = MZ_EXIST_ERROR;
} else {
err = mz_os_file_exists(split->path_disk);
Expand Down

0 comments on commit 9aeff7b

Please sign in to comment.