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:04 +0200
committerJörg Frings-Fürst <debian@jff.email>2021-08-03 20:24:04 +0200
commitcb628a331b2235465a985e51eb3476b8c7b1e68b (patch)
tree07e89daf5a1ac485e73f22ccb2ec2a914eeaf0f1 /src/renderers/pieRenderer.vala
parent8ef660cf7c92b3407bf2fbfb0f063b90fbe991cf (diff)
parent38bebbbddf1b2e8620c6b3c2101f689c0296a1fc (diff)
Update upstream source from tag 'upstream/0.7.3'
Update to upstream version '0.7.3' with Debian dir 93afe8369b196a0543bb89394f0f3b70ff9dbb72
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