diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2014-09-12 13:48:28 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2014-09-12 13:48:28 +0200 |
| commit | 50813b0e99321ba5c60ea4bc8c16d19519801446 (patch) | |
| tree | 3bbcdfaedca6a9d529f02e90bebbda5bc893bdc6 /editor.c | |
| parent | 6df6386c3af1420d9b0d676d5b9da660ab6f99d4 (diff) | |
| download | vis-50813b0e99321ba5c60ea4bc8c16d19519801446.tar.gz vis-50813b0e99321ba5c60ea4bc8c16d19519801446.tar.xz | |
Rename text_filename to text_filename_get
Diffstat (limited to 'editor.c')
| -rw-r--r-- | editor.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |
