Skip to content

Commit

Permalink
Fix incbin path for relative files
Browse files Browse the repository at this point in the history
  • Loading branch information
radimerry committed Sep 24, 2022
1 parent a8c277c commit 30675bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Commands/CDirectiveFile.cpp
Expand Up @@ -229,7 +229,7 @@ CDirectiveIncbin::CDirectiveIncbin(const fs::path& fileName)
}

std::error_code error;
this->fileSize = static_cast<int64_t>(fs::file_size(fileName, error));
this->fileSize = static_cast<int64_t>(fs::file_size(this->fileName, error));
}

bool CDirectiveIncbin::Validate(const ValidateState &state)
Expand Down

0 comments on commit 30675bd

Please sign in to comment.