diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2021-08-03 20:25:35 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2021-08-03 20:25:35 +0200 |
commit | 7333967b198f83c33b46608cad5989137896dd8d (patch) | |
tree | b80fb3dd2fad13f239ea1fb0f252faa02165ec83 /src/renderers/pieRenderer.vala | |
parent | 8ef660cf7c92b3407bf2fbfb0f063b90fbe991cf (diff) | |
parent | 7ea867bbca058b7d7d229cf37c2d001522593a09 (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/renderers/pieRenderer.vala')
-rw-r--r-- | src/renderers/pieRenderer.vala | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/renderers/pieRenderer.vala b/src/renderers/pieRenderer.vala index 2f8aaf4..af5d5a3 100644 --- a/src/renderers/pieRenderer.vala +++ b/src/renderers/pieRenderer.vala @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////// -// Copyright 2011-2018 Simon Schneegans +// Copyright 2011-2021 Simon Schneegans // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the @@ -378,7 +378,7 @@ public class PieRenderer : GLib.Object { szy = 2; //half height, center to the bottom break; - //cuarter pie + //quarter pie case ShowPieMode.CPIE_TOP_LEFT: szx = 0; //half width, center to the left szy = 0; //half height, center to the top @@ -395,6 +395,8 @@ public class PieRenderer : GLib.Object { szx = 2; //half width, center to the right szy = 2; //half height, center to the bottom break; + + default: break; } if (reduce_szx == 0) szx = 1; //don't reduce width |