-
Notifications
You must be signed in to change notification settings - Fork 34
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
Issue 176 alt #178
Conversation
if (have_x < 0) real_window_init(); \ | ||
if (!have_x) { \ | ||
err_logo(BAD_GRAPH_INIT,NIL); \ | ||
return; \ |
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.
I wonder if this is going to cause an error to be missed somewhere?
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.
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; |
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.
Should we be checking for non-char values here?
0436176
to
d300824
Compare
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.) |
Reviewed changes and approve. This looks like a pragmatic approach to addressing the issue. |
Possible fixes for #176