Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Win64 fixes for finding files and making directories #85

Merged
merged 1 commit into from Apr 23, 2018
Merged

Win64 fixes for finding files and making directories #85

merged 1 commit into from Apr 23, 2018

Conversation

nerd-rage
Copy link
Contributor

Tried to build and run on 64-bit Windows, had to change a couple lines that assumed 32-bit. Also strtok was called with a wrong constant.

@lynxlynxlynx
Copy link
Member

Looks good, thanks! Why is the strtok change needed though, surely nulls are not valid path chars on windows?

@nerd-rage
Copy link
Contributor Author

strtok expects a 0-terminated string as its second parameter. As luck would have it, PathDelimiter wasn't followed by a 0 in my builds, but by 'c', so "Cache2" was split in to "Ca" and "he2", making a wrong folder with a subfolder.

@lynxlynxlynx lynxlynxlynx merged commit e0de7ec into gemrb:master Apr 23, 2018
@lynxlynxlynx
Copy link
Member

uff, even the man page doesn't mention that. Good catch!

MarcelHB pushed a commit to MarcelHB/gemrb that referenced this pull request Sep 9, 2019
the viewport needs to always get updated so we need something to call from either Freeze() or Update()
fixes viewport not scrolling to dialog speaker if DF_FREEZE_SCRIPTS is set

issue gemrb#85
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants