summaryrefslogtreecommitdiffstats
path: root/src/2geom
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-02-19 21:06:37 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-02-19 21:06:37 +0000
commitaa9e36cd93c4f71ff8eb0a6fc24d46933fdf7d14 (patch)
tree247a7c67e58057cdd987fb7cdf45ee61456aaf97 /src/2geom
parentreducing size in pointwise LPE data (diff)
downloadinkscape-aa9e36cd93c4f71ff8eb0a6fc24d46933fdf7d14.tar.gz
inkscape-aa9e36cd93c4f71ff8eb0a6fc24d46933fdf7d14.zip
fixed some bugs
(bzr r13645.1.19)
Diffstat (limited to 'src/2geom')
-rw-r--r--src/2geom/satellite.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/2geom/satellite.h b/src/2geom/satellite.h
index a83de5af2..7b524f912 100644
--- a/src/2geom/satellite.h
+++ b/src/2geom/satellite.h
@@ -56,7 +56,7 @@ class Satellite
void setSatelliteType(gchar const * A)
{
- std::map<gchar const *,SatelliteType> GcharMapToSatelliteType = boost::assign::map_list_of("FILLET", FILLET)("INVERSE_FILLET", INVERSE_FILLET)("CHAMFER",CHAMFER)("INVERSE_CHAMFER",INVERSE_CHAMFER)("INVALID_SATELLITE",INVALID_SATELLITE);
+ std::map<gchar const *,SatelliteType> GcharMapToSatelliteType = boost::assign::map_list_of("F", F)("IF", IF)("C",C)("IC",IC)("KO",KO);
_satellitetype = GcharMapToSatelliteType[A];
}
@@ -97,7 +97,7 @@ class Satellite
gchar const * getSatelliteTypeGchar() const
{
- std::map<SatelliteType,gchar const *> SatelliteTypeToGcharMap = boost::assign::map_list_of(FILLET, "FILLET")(INVERSE_FILLET, "INVERSE_FILLET")(CHAMFER,"CHAMFER")(INVERSE_CHAMFER,"INVERSE_CHAMFER")(INVALID_SATELLITE,"INVALID_SATELLITE");
+ std::map<SatelliteType,gchar const *> SatelliteTypeToGcharMap = boost::assign::map_list_of(F, "F")(IF, "IF")(C,"C")(IC,"IC")(KO,"KO");
return SatelliteTypeToGcharMap[_satellitetype];
}