From df17c1e4f0a317a20515429be0c32ee79af8c14b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 4 Sep 2016 16:49:37 +0300 Subject: Fix hack with input string. Previous commit missing custom input function. --- src/emap/init.c | 1 + src/emap/script_buildins.h | 1 + 2 files changed, 2 insertions(+) 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 -- cgit v1.2.3-60-g2f50