summaryrefslogtreecommitdiff
path: root/src/renderers/pieRenderer.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2021-08-03 20:24:02 +0200
committerJörg Frings-Fürst <debian@jff.email>2021-08-03 20:24:02 +0200
commit38bebbbddf1b2e8620c6b3c2101f689c0296a1fc (patch)
treebf635aab914c9de931bc7cb0b4faf929a7186582 /src/renderers/pieRenderer.vala
parente62a1c4bd7e6073de5aef7a262d838b0df46d504 (diff)
New upstream version 0.7.3upstream/0.7.3upstream
Diffstat (limited to 'src/renderers/pieRenderer.vala')
-rw-r--r--src/renderers/pieRenderer.vala6
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