billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=ce8eda85e12596aff41ea6f28ed8b01cce25550f

commit ce8eda85e12596aff41ea6f28ed8b01cce25550f
Author: Boris Faure <bill...@gmail.com>
Date:   Sat Mar 19 16:11:15 2016 +0100

    make terminology still compile with efl-1.8
---
 src/bin/keyin.c | 5 +++++
 1 file changed, 5 insertions(+)

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);

-- 


Reply via email to