Fixed some bugs from last commit (typo in SCRIPT_PARAM_DEFAULT_C definition)

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@858 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2008-05-18 17:53:44 +00:00
parent 1a7e689e95
commit 8d6af1d37a
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ inline Type from_script(const ScriptValueP& v, Variable var) {
ScriptValueP name##_ = ctx.getVariableOpt(str); \
Type name = name##_ ? from_script<Type>(name##_, str) : def
#define SCRIPT_PARAM_DEFAULT_C(Type, name, def) \
SCRIPT_PARAM_DEFAULT_N(Type, SCRIPT_VAR_ ## name, name, name)
SCRIPT_PARAM_DEFAULT_N(Type, SCRIPT_VAR_ ## name, name, def)
// ----------------------------------------------------------------------------- : Rules
+1
View File
@@ -55,6 +55,7 @@ void init_script_variables() {
Var(in);
Var(match);
Var(replace);
VarN(in_context,_("in context"));
Var(order);
Var(filter);
Var(choice);