diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-04 16:49:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-04 16:49:37 +0300 |
commit | df17c1e4f0a317a20515429be0c32ee79af8c14b (patch) | |
tree | 8c52b93f6616e25fbf371d1f9d90247a25369a6c | |
parent | c558e3645f5154ee001e5ba8b295556316356ab0 (diff) | |
download | evol-hercules-df17c1e4f0a317a20515429be0c32ee79af8c14b.tar.gz evol-hercules-df17c1e4f0a317a20515429be0c32ee79af8c14b.tar.bz2 evol-hercules-df17c1e4f0a317a20515429be0c32ee79af8c14b.tar.xz evol-hercules-df17c1e4f0a317a20515429be0c32ee79af8c14b.zip |
Fix hack with input string. Previous commit missing custom input function.
-rw-r--r-- | src/emap/init.c | 1 | ||||
-rw-r--r-- | src/emap/script_buildins.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/emap/init.c b/src/emap/init.c index e6a4113..6098f04 100644 --- a/src/emap/init.c +++ b/src/emap/init.c @@ -183,6 +183,7 @@ HPExport void plugin_init (void) addScriptCommand("setfakecells", "iii??", setFakeCells); addScriptCommand("getlabel", "l", getLabel); addScriptCommand("tolabel", "i", toLabel); + addScriptCommand("input", "r??", input); do_init_langs(); diff --git a/src/emap/script_buildins.h b/src/emap/script_buildins.h index 107ac28..da39ab5 100644 --- a/src/emap/script_buildins.h +++ b/src/emap/script_buildins.h @@ -86,5 +86,6 @@ BUILDIN(htiDelete); BUILDIN(setFakeCells); BUILDIN(getLabel); BUILDIN(toLabel); +BUILDIN(input); #endif // EVOL_MAP_SCRIPT_BUILDINS |