src/commands.cc

changeset 87
8f65914e7046
parent 85
264a61e9eba0
--- a/src/commands.cc	Sun Jan 26 23:18:48 2014 +0200
+++ b/src/commands.cc	Sun Feb 02 01:50:23 2014 +0200
@@ -67,7 +67,7 @@
 string get_command_signature (command_info* comm)
 {
 	string text;
-	text += GetTypeName (comm->returnvalue);
+	text += get_type_name (comm->returnvalue);
 	text += ' ';
 	text += comm->name;
 
@@ -89,7 +89,7 @@
 		if (i)
 			text += ", ";
 
-		text += GetTypeName (comm->args[i].type);
+		text += get_type_name (comm->args[i].type);
 		text += ' ';
 		text += comm->args[i].name;
 
@@ -97,7 +97,7 @@
 		{
 			text += " = ";
 
-			bool is_string = comm->args[i].type == TYPE_STRING;
+			bool is_string = comm->args[i].type == e_string_type;
 
 			if (is_string)
 				text += '"';

mercurial