aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-12-28 12:47:45 +0000
committerThomas White <taw@bitwiz.org.uk>2011-12-28 12:47:45 +0000
commitc0ffee0457bd015d422a3353aa3149f4552117ac (patch)
treec87a6bb811aa1a4fd165d3d98347df9a811c79c5
parente68dd52395c464de2c66cba3fd7a9b87a7230a9b (diff)
Add missing break statements
-rw-r--r--src/stylesheet.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stylesheet.c b/src/stylesheet.c
index 7048240..b7d48e1 100644
--- a/src/stylesheet.c
+++ b/src/stylesheet.c
@@ -745,6 +745,7 @@ static int read_bgblock(struct bgblock *b, struct ds_node *root)
case BGBLOCK_SOLID :
get_field_s(root, "colour1", &b->colour1);
get_field_f(root, "alpha1", &b->alpha1);
+ break;
case BGBLOCK_GRADIENT_X :
case BGBLOCK_GRADIENT_Y :
@@ -753,6 +754,7 @@ static int read_bgblock(struct bgblock *b, struct ds_node *root)
get_field_f(root, "alpha1", &b->alpha1);
get_field_s(root, "colour2", &b->colour2);
get_field_f(root, "alpha2", &b->alpha2);
+ break;
default:
break;