WINDOW* src = newwin(11, 11, 0, 0);
WINDOW* dst = newwin(10, 10, 0, 0);
int res = copywin(src, dst, 0, 0, 0, 0, 9, 9, true); /* OK */
res = copywin(src, dst, 0, 0, 0, 0, 11, 11, true); /* ERR */
res = copywin(src, dst, 0, 0, 0, 0, 10, 10, true); /* crash */
Thanks for the report. I've committed a fix to CVS.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.