aboutsummaryrefslogtreecommitdiff
path: root/libtxt/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtxt/keymap.c')
-rw-r--r--libtxt/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtxt/keymap.c b/libtxt/keymap.c
index ae2ab02..e03590e 100644
--- a/libtxt/keymap.c
+++ b/libtxt/keymap.c
@@ -26,7 +26,7 @@ void map(struct keymap *keymap, int line, char ch, int index)
// Very ugly code but it should work for now
struct keymap *keymap_parse(const char *path)
{
- char *keymap_src = read(path);
+ char *keymap_src = sread(path);
if (!keymap_src)
return NULL;
struct keymap *keymap = malloc(sizeof(*keymap));