summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-04 16:49:37 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-04 16:49:37 +0300
commitdf17c1e4f0a317a20515429be0c32ee79af8c14b (patch)
tree8c52b93f6616e25fbf371d1f9d90247a25369a6c
parentc558e3645f5154ee001e5ba8b295556316356ab0 (diff)
downloadplugin-df17c1e4f0a317a20515429be0c32ee79af8c14b.tar.gz
plugin-df17c1e4f0a317a20515429be0c32ee79af8c14b.tar.bz2
plugin-df17c1e4f0a317a20515429be0c32ee79af8c14b.tar.xz
plugin-df17c1e4f0a317a20515429be0c32ee79af8c14b.zip
Fix hack with input string. Previous commit missing custom input function.
-rw-r--r--src/emap/init.c1
-rw-r--r--src/emap/script_buildins.h1
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