Skip to content
Snippets Groups Projects
Commit de883d2a authored by deuce's avatar deuce
Browse files

Fix warnings.

parent deb9eb9b
No related branches found
No related tags found
No related merge requests found
......@@ -352,11 +352,11 @@ int curs_gettext(int sx, int sy, int ex, int ey, void *fillbuf)
{
attr=mvinch(y, x);
if(attr&A_REVERSE) {
thischar=attr&255-'A'+1;
thischar=(attr&255)-'A'+1;
}
else if(attr&A_ALTCHARSET) {
ext_char=A_ALTCHARSET|(attr&255);
if(!(mode==CIOLIB_MODE_CURSES_IBM)){
ext_char=A_ALTCHARSET|(attr&255);
/* likely ones */
if (ext_char == ACS_CKBOARD)
{
......@@ -695,7 +695,7 @@ int curs_initciolib(long inmode)
}
mode = inmode;
#ifdef NCURSES_VERSION_MAJOR
if(mousemask(BUTTON1_PRESSED|BUTTON1_RELEASED|BUTTON2_PRESSED|BUTTON2_RELEASED|BUTTON3_PRESSED|BUTTON3_RELEASED|REPORT_MOUSE_POSITION,NULL)==BUTTON1_PRESSED|BUTTON1_RELEASED|BUTTON2_PRESSED|BUTTON2_RELEASED|BUTTON3_PRESSED|BUTTON3_RELEASED|REPORT_MOUSE_POSITION) {
if(mousemask(BUTTON1_PRESSED|BUTTON1_RELEASED|BUTTON2_PRESSED|BUTTON2_RELEASED|BUTTON3_PRESSED|BUTTON3_RELEASED|REPORT_MOUSE_POSITION,NULL)==(BUTTON1_PRESSED|BUTTON1_RELEASED|BUTTON2_PRESSED|BUTTON2_RELEASED|BUTTON3_PRESSED|BUTTON3_RELEASED|REPORT_MOUSE_POSITION)) {
mouseinterval(0);
cio_api.mouse=1;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment