From 50813b0e99321ba5c60ea4bc8c16d19519801446 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Fri, 12 Sep 2014 13:48:28 +0200 Subject: Rename text_filename to text_filename_get --- editor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editor.c') diff --git a/editor.c b/editor.c index ad3da53..b3fd1de 100644 --- a/editor.c +++ b/editor.c @@ -86,7 +86,7 @@ static void editor_windows_arrange_vertical(Editor *ed) { } bool editor_window_reload(EditorWin *win) { - const char *filename = text_filename(win->text); + const char *filename = text_filename_get(win->text); /* can't reload unsaved file */ if (!filename) return false; @@ -114,7 +114,7 @@ static void editor_window_split_internal(Editor *ed, const char *filename) { // TODO? move this to editor_window_new sel = NULL; for (EditorWin *w = ed->windows; w; w = w->next) { - const char *f = text_filename(w->text); + const char *f = text_filename_get(w->text); if (f && strcmp(f, filename) == 0) { sel = w; break; -- cgit v1.2.3