Hi, Issue found by Coverity Scan. CID 259179 (#1 of 1): Missing break in switch (MISSING_BREAK) unterminated_case: The case for value 276U is not terminated by a 'break' statement.
--- a\src\win\iupwin_canvas.c Tue Jan 16 20:23:32 2018 +++ b\src\win\iupwin_canvas.c Wed Jan 24 22:40:51 2018 @@ -579,6 +579,7 @@ *result = 0; return 1; } + break; case WM_HSCROLL: /* only process the scrollbar if not a MDI client AND a standard scrollbar */ if (!iupAttribGetBoolean(ih, "MDICLIENT") && lp == 0) @@ -587,6 +588,7 @@ *result = 0; return 1; } + break; case WM_SETFOCUS: if (!iupAttribGetBoolean(ih, "CANFOCUS")) { Best, Ranier Vilela
iupwin_canvas.patch
Description: iupwin_canvas.patch
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users