From 3605a7a4e143bf910b19b0a84486c546436337ae Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 6 Aug 2019 11:56:53 +0200 Subject: [PATCH] geom-exp:: geometryclass constant names used --- geom-exp.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/geom-exp.cpp b/geom-exp.cpp index b5273524..f0305d04 100644 --- a/geom-exp.cpp +++ b/geom-exp.cpp @@ -787,19 +787,19 @@ void showEuclideanMenu() { else dialog::addBreak(200); switch(ginf[geometry].cclass) { - case 0: + case gcHyperbolic: dialog::addSelItem(XLAT("Curvature"), XLAT("hyperbolic"), 0); break; - case 1: + case gcEuclid: dialog::addSelItem(XLAT("Curvature"), XLAT("flat"), 0); break; - case 2: + case gcSphere: dialog::addSelItem(XLAT("Curvature"), XLAT("spherical"), 0); break; - case 3: + case gcSol: dialog::addSelItem(XLAT("Curvature"), XLAT("Sol"), 0); break;