aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/path.c
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-11-27 16:08:44 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-11-27 16:08:44 -0300
commitdca8853f0031ab7ac960037d3b848107355d7056 (patch)
tree90cecee10a75f8035fd0df02629d999853318450 /src/nvim/path.c
parentf6c89ec70409badb7ca477de47dd1f8dbf3de376 (diff)
parentbf6bb27e79f53646309ba075655465919bc2e60c (diff)
downloadrneovim-dca8853f0031ab7ac960037d3b848107355d7056.tar.gz
rneovim-dca8853f0031ab7ac960037d3b848107355d7056.tar.bz2
rneovim-dca8853f0031ab7ac960037d3b848107355d7056.zip
Merge PR #1565 'Cleanup ui module'
Diffstat (limited to 'src/nvim/path.c')
-rw-r--r--src/nvim/path.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/path.c b/src/nvim/path.c
index ff97b7774a..e8d31f3f73 100644
--- a/src/nvim/path.c
+++ b/src/nvim/path.c
@@ -31,7 +31,7 @@
#include "nvim/strings.h"
#include "nvim/tag.h"
#include "nvim/types.h"
-#include "nvim/ui.h"
+#include "nvim/os/input.h"
#include "nvim/window.h"
#define URL_SLASH 1 /* path_is_url() has found "://" */
@@ -449,7 +449,7 @@ unix_expandpath (
/* Expanding "**" may take a long time, check for CTRL-C. */
if (stardepth > 0) {
- ui_breakcheck();
+ os_breakcheck();
if (got_int)
return 0;
}
@@ -850,7 +850,7 @@ static void uniquefy_paths(garray_T *gap, char_u *pattern)
STRMOVE(path + STRLEN(path), short_name);
}
}
- ui_breakcheck();
+ os_breakcheck();
}
/* Shorten filenames in /in/current/directory/{filename} */
@@ -879,7 +879,7 @@ static void uniquefy_paths(garray_T *gap, char_u *pattern)
free(fnames[i]);
fnames[i] = rel_path;
sort_again = TRUE;
- ui_breakcheck();
+ os_breakcheck();
}
free(curdir);