billiob pushed a commit to branch master.

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

commit 34f19bf4dd8ee043f3833599809bab80ce38d26e
Author: Boris Faure <[email protected]>
Date:   Thu Feb 8 18:40:06 2018 +0100

    win: constify term_preedit_str_get()
---
 src/bin/win.c | 2 +-
 src/bin/win.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/win.c b/src/bin/win.c
index 41e2d21..ac37cb7 100644
--- a/src/bin/win.c
+++ b/src/bin/win.c
@@ -1165,7 +1165,7 @@ _cb_win_key_up(void *data,
    keyin_handle_up(&wn->khdl, ev);
 }
 
-char *
+const char *
 term_preedit_str_get(Term *term)
 {
    Win *wn = term->wn;
diff --git a/src/bin/win.h b/src/bin/win.h
index 4c7aa7d..b1ac57f 100644
--- a/src/bin/win.h
+++ b/src/bin/win.h
@@ -66,7 +66,7 @@ void term_down(Term *term);
 void term_left(Term *term);
 void term_right(Term *term);
 
-char *
+const char *
 term_preedit_str_get(Term *term);
 
 void win_font_size_set(Win *wn, int new_size);

-- 


Reply via email to