summaryrefslogtreecommitdiff
path: root/apps/plugins/text_editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/text_editor.c')
-rw-r--r--apps/plugins/text_editor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/text_editor.c b/apps/plugins/text_editor.c
index c9d973f..abb2787 100644
--- a/apps/plugins/text_editor.c
+++ b/apps/plugins/text_editor.c
@@ -141,7 +141,7 @@ int get_eol_string(char* fn)
return 0;
else if (!fn[0])
return 0;
- fd = rb->PREFIX(open(fn,O_RDONLY));
+ fd = rb->open(fn,O_RDONLY);
if (fd<0)
return 0;
eol[0] = '\0';