diff options
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 |