Add fallthrough mark, correct Typo

This commit is contained in:
2019-02-27 20:27:01 +01:00
parent d5997ab5f2
commit 7124c9a5cc
2 changed files with 3 additions and 1 deletions

View File

@@ -49,6 +49,7 @@ static void update_box_with_gfx(union bounding_box *box, struct gds_graphics *gf
switch (gfx->gfx_type) {
case GRAPHIC_BOX:
/* Expected fallthrough */
case GRAPHIC_POLYGON:
bounding_box_calculate_polygon(gfx->vertices,
(conv_generic_to_vector_2d_t)&convert_gds_point_to_2d_vector,
@@ -57,7 +58,7 @@ static void update_box_with_gfx(union bounding_box *box, struct gds_graphics *gf
case GRAPHIC_PATH:
/*
* This is not implemented correctly.
* Please be aware if paths are the oputpost elements of your cell.
* Please be aware if paths are the outmost elements of your cell.
* You might end up with a completely wrong calculated cell size.
*/
/* Okay.. You're right. It is not implemented at all. ;P */