From 789c448d195e4f0b02222335041039e2341ee30a Mon Sep 17 00:00:00 2001 From: Mark Bainter Date: Mon, 20 Apr 2015 13:50:57 +0000 Subject: Remove char_u: path_with_url() --- src/nvim/fileio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/fileio.c') diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c index a33863b3a9..6506bbbae8 100644 --- a/src/nvim/fileio.c +++ b/src/nvim/fileio.c @@ -4310,7 +4310,7 @@ void shorten_fnames(int force) FOR_ALL_BUFFERS(buf) { if (buf->b_fname != NULL && !bt_nofile(buf) - && !path_with_url(buf->b_fname) + && !path_with_url((char *)buf->b_fname) && (force || buf->b_sfname == NULL || path_is_absolute_path(buf->b_sfname))) { -- cgit