gui.cpp

changeset 114
fe1bfc5f59ed
parent 113
bbaa40226ec9
child 116
4fde8fdf258a
--- a/gui.cpp	Tue Apr 16 14:36:56 2013 +0300
+++ b/gui.cpp	Tue Apr 16 18:27:08 2013 +0300
@@ -555,15 +555,15 @@
 		case OBJ_BFC:
 			{
 				LDBFC* bfc = static_cast<LDBFC*> (obj);
-				zText = LDBFC::saStatements[bfc->dStatement];
+				zText = LDBFC::saStatements[bfc->eStatement];
 			}
 			break;
 		
 		case OBJ_Radial:
 			{
 				LDRadial* pRad = static_cast<LDRadial*> (obj);
-				zText.format ("%d / %d %s", pRad->dSegments, pRad->dDivisions,
-					pRad->radialTypeName());
+				zText.format ("%s: %d / %d %s", pRad->makeFileName ().chars (),
+					pRad->dSegments, pRad->dDivisions, pRad->radialTypeName());
 				
 				if (pRad->eRadialType == LDRadial::Ring || pRad->eRadialType == LDRadial::Cone)
 					zText.appendformat (" %d", pRad->dRingNum);

mercurial