Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Integrate map into chiventure gui split screen #1121
base: dev
Are you sure you want to change the base?
Integrate map into chiventure gui split screen #1121
Changes from all commits
ce2d605
04c7f33
051f1df
645581c
b4d0b43
ad272d0
0f02cab
1159d77
7b26d8a
10ade90
af8c57a
39458b9
6c57e82
b47668e
313c00a
f2a12c8
36f182f
5d62089
22824ec
880bcc1
9a918bf
817a467
0c2d9e2
36ea2af
548d9c0
51e32d1
0c47273
f226cca
839178d
3cf8f90
f8be242
c0258cd
d802b3f
37c66a4
6488a24
db6850b
ddef478
75dfe35
21c1402
142129d
5e82d10
7919e61
3eb2a26
747e97a
f49b364
b6e2109
4708d07
5999c80
59120dd
a81db59
ff9132d
0ac878c
20b0206
bbaa0f7
5daf691
ad65adf
3971d65
cc74e79
bf74d76
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since you're using strcat, you should start by
calloc
ing a new string of sufficient length, and the strcat'ing onto that.You can also do this via
sprintf
: if your new string is calledimage_filename
and has beencalloc
ed, you should be able to dosprintf(image_filename, "%s%s.%s", filepath, curr_room, ".png")
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: add a blank line between lines 59 and 60