summaryrefslogtreecommitdiff
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
parentd9276909a4462a2c5d8d02b243216bac9aef002d (diff)
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)
373 const char *template = "%s -d %s"; 373 const char *template = "%s -d %s";
374 int length; 374 int length;
375 375
376#if (EFL_VERSION_MAJOR > 1) || (EFL_VERSION_MINOR >= 16)
376 eina_file_path_join(path, sizeof(path), elm_app_bin_dir_get(), 377 eina_file_path_join(path, sizeof(path), elm_app_bin_dir_get(),
377 "terminology"); 378 "terminology");
379#else
380 snprintf(path, sizeof(path), "%s/%s", elm_app_bin_dir_get(),
381 "terminology");
382#endif
378 if (termio_cwd_get(termio_obj, cwd, sizeof(cwd))) 383 if (termio_cwd_get(termio_obj, cwd, sizeof(cwd)))
379 { 384 {
380 length = (strlen(path) + strlen(cwd) + strlen(template) - 3); 385 length = (strlen(path) + strlen(cwd) + strlen(template) - 3);