summaryrefslogtreecommitdiffstats
path: root/src/perspective3d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/perspective3d.cpp')
-rw-r--r--src/perspective3d.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/perspective3d.cpp b/src/perspective3d.cpp
index c9c56e78d..e2b9fcbc2 100644
--- a/src/perspective3d.cpp
+++ b/src/perspective3d.cpp
@@ -174,7 +174,7 @@ Perspective3D::set_vanishing_point (Box3D::Axis const dir, VanishingPoint const
case Z:
(*vp_z) = pt;
break;
- case NONE:
+ default:
// no vanishing point to set
break;
}
@@ -205,7 +205,7 @@ Perspective3D::set_vanishing_point (Box3D::Axis const dir, gdouble pt_x, gdouble
case Z:
vp = vp_z;
break;
- case NONE:
+ default:
// no vanishing point to set
return;
}