aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2016-03-19 16:11:15 +0100
committerBoris Faure <billiob@gmail.com>2016-03-19 16:11:15 +0100
commitce8eda85e12596aff41ea6f28ed8b01cce25550f (patch)
tree0e9948dde54f205e0254292e9bb89a59fc0d5ca2
parentadd option to enable bold/italic (on by default) (diff)
downloadterminology-ce8eda85e12596aff41ea6f28ed8b01cce25550f.tar.gz
make terminology still compile with efl-1.8
-rw-r--r--src/bin/keyin.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bin/keyin.c b/src/bin/keyin.c
index deabe81..d08ac5b 100644
--- a/src/bin/keyin.c
+++ b/src/bin/keyin.c
@@ -373,8 +373,13 @@ cb_term_new(Evas_Object *termio_obj)
const char *template = "%s -d %s";
int length;
+#if (EFL_VERSION_MAJOR > 1) || (EFL_VERSION_MINOR >= 16)
eina_file_path_join(path, sizeof(path), elm_app_bin_dir_get(),
"terminology");
+#else
+ snprintf(path, sizeof(path), "%s/%s", elm_app_bin_dir_get(),
+ "terminology");
+#endif
if (termio_cwd_get(termio_obj, cwd, sizeof(cwd)))
{
length = (strlen(path) + strlen(cwd) + strlen(template) - 3);