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 c9d973fe22..abb278728f 100644
--- a/apps/plugins/text_editor.c
+++ b/apps/plugins/text_editor.c
@@ -141,7 +141,7 @@ int get_eol_string(char* fn)
141 return 0; 141 return 0;
142 else if (!fn[0]) 142 else if (!fn[0])
143 return 0; 143 return 0;
144 fd = rb->PREFIX(open(fn,O_RDONLY)); 144 fd = rb->open(fn,O_RDONLY);
145 if (fd<0) 145 if (fd<0)
146 return 0; 146 return 0;
147 eol[0] = '\0'; 147 eol[0] = '\0';