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

Issue 176 alt #178

Merged
merged 2 commits into from
Jan 21, 2024
Merged

Issue 176 alt #178

merged 2 commits into from
Jan 21, 2024

Conversation

jrincayc
Copy link
Owner

Possible fixes for #176

@jrincayc jrincayc added the unfinished This merge still needs work before merging. label Jan 12, 2024
if (have_x < 0) real_window_init(); \
if (!have_x) { \
err_logo(BAD_GRAPH_INIT,NIL); \
return; \
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if this is going to cause an error to be missed somewhere?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On the other hand, it possibly needs to return an error code to actually have this noticed?

int termcap_putter(char ch) {
*termcap_ptr++ = ch;
int termcap_putter(int ch) {
*termcap_ptr++ = (char)ch;
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we be checking for non-char values here?

@jrincayc
Copy link
Owner Author

I am tempted to add some warning comments and call this good. It is not code that is used by the main wxWidgets version, so I am less worried about breaking something here. (And the regular regression tests were able to run in x11 mode, and I checked that I could do my smoke test on it.)

@jrincayc jrincayc removed the unfinished This merge still needs work before merging. label Jan 20, 2024
@dmalec
Copy link
Collaborator

dmalec commented Jan 21, 2024

Reviewed changes and approve. This looks like a pragmatic approach to addressing the issue.

@dmalec dmalec merged commit ca23b30 into master Jan 21, 2024
2 checks passed
@jrincayc jrincayc deleted the issue_176_alt branch January 21, 2024 20:43
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.

2 participants