file.cpp

changeset 164
8c93d8e38494
parent 161
c9fba92c4e35
child 168
96691a009dff
--- a/file.cpp	Sun May 05 17:04:42 2013 +0300
+++ b/file.cpp	Mon May 06 00:10:56 2013 +0300
@@ -404,7 +404,7 @@
 			// Handle BFC statements
 			if (tokens.size() > 2 && tokens[1] == "BFC") {
 				for (short i = 0; i < LDBFC::NumStatements; ++i)
-					if (comm == fmt ("BFC %s", LDBFC::saStatements [i]))
+					if (comm == fmt ("BFC %s", LDBFC::statements [i]))
 						return new LDBFC ((LDBFC::Type) i);
 				
 				// MLCAD is notorious for stuffing these statements in parts it
@@ -465,7 +465,7 @@
 			}
 			
 			LDComment* obj = new LDComment;
-			obj->zText = comm;
+			obj->text = comm;
 			return obj;
 		}
 	

mercurial