diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-11-13 15:07:28 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-11-13 15:07:28 -0800 |
commit | 4e62aa95b036a579e60f66f818daf5795a3201bb (patch) | |
tree | e45efc9d6b89aa54e348d72986d80ce5426ccf93 /src/kilo.c | |
parent | cbd5e7d5529027e7440bafa7e3ee6412bae3531d (diff) | |
download | teliva-4e62aa95b036a579e60f66f818daf5795a3201bb.tar.gz |
.
Diffstat (limited to 'src/kilo.c')
-rw-r--r-- | src/kilo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kilo.c b/src/kilo.c index 3183639..bbeb482 100644 --- a/src/kilo.c +++ b/src/kilo.c @@ -1297,7 +1297,7 @@ static void initEditor(void) { signal(SIGWINCH, handleSigWinCh); } -void edit(lua_State* L, char* filename, char* message) { +void edit(lua_State* L, char* filename, const char* message) { initEditor(); editorOpen(filename); enableRawMode(STDIN_FILENO); |