aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElena of Valhalla'' Grandi <valhalla@trueelena.org>2014-06-22 15:38:23 +0200
committerElena of Valhalla'' Grandi <valhalla@trueelena.org>2014-06-22 15:38:23 +0200
commitf6877939ff386a340acea456b6e731bfe63abc68 (patch)
treef536adba73ba6d66d7ede6c736d57f0f9e1b0cd3
parentab368e8ee0697970d9c3a8ea2f9c17206e962697 (diff)
Error message fixes
-rw-r--r--lib/dice.scad4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dice.scad b/lib/dice.scad
index 05bb23e..e87bbb6 100644
--- a/lib/dice.scad
+++ b/lib/dice.scad
@@ -3,7 +3,7 @@ use <utils.scad>
module d4(size=false, side=false) {
l = side ? side : s2s_d4(size);
if (l == false) {
- echo("ERROR: d6: one of side or size should be defined");
+ echo("ERROR: d4: one of side or size should be defined");
}
r = sqrt(6)/4*l;
c = r*2;
@@ -45,7 +45,7 @@ module d6(size=false, side=false) {
module d8(size=false, side=false) {
l = side ? side : s2s_d8(size);
if (l == false) {
- echo("ERROR: d6: one of side or size should be defined");
+ echo("ERROR: d8: one of side or size should be defined");
}
r = sqrt(2)/2*l;
c = r*2;