diff options
author | gautier.hattenberger | 2015-01-07 14:36:00 +0000 |
---|---|---|
committer | gautier.hattenberger | 2015-01-07 14:36:00 +0000 |
commit | 63edf4eeb3b8063bf9541dbc611dde73abf4ca56 (patch) | |
tree | f7dcea082b0ca673dab3caafa09f67334f3ff1b7 /civy.c | |
parent | 5d51a16a065caa3cd74d7be4bc9a525d205d8746 (diff) | |
download | ivy-ocaml-63edf4eeb3b8063bf9541dbc611dde73abf4ca56.zip ivy-ocaml-63edf4eeb3b8063bf9541dbc611dde73abf4ca56.tar.gz ivy-ocaml-63edf4eeb3b8063bf9541dbc611dde73abf4ca56.tar.bz2 ivy-ocaml-63edf4eeb3b8063bf9541dbc611dde73abf4ca56.tar.xz |
fix ctkivy and add tk part to makefile again
Diffstat (limited to 'civy.c')
-rw-r--r-- | civy.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -13,7 +13,7 @@ value ivy_sendMsg(value msg) { - IvySendMsg(String_val(msg)); + IvySendMsg("%s", String_val(msg)); return Val_unit; } @@ -60,7 +60,7 @@ void ClosureCallback(IvyClientPtr app, void *closure, int argc, char **argv) value ivy_bindMsg(value cb_name, value regexp) { value * closure = caml_named_value(String_val(cb_name)); - MsgRcvPtr id = IvyBindMsg(ClosureCallback, (void*)closure, String_val(regexp)); + MsgRcvPtr id = IvyBindMsg(ClosureCallback, (void*)closure, "%s", String_val(regexp)); return Val_long(id); } |