diff options
| author | John Bampton <[email protected]> | 2020-12-17 16:22:31 +1000 |
|---|---|---|
| committer | John Bampton <[email protected]> | 2020-12-17 16:22:31 +1000 |
| commit | d21d5993b9452bdb7813e8c6b897241bbc72b758 (patch) | |
| tree | f6f9cda5a692c02e5eae8b9c80de7e40fd933241 /mrbgems/mruby-io | |
| parent | fbe5033f80cda70d4e835b7c99748df116d3be4c (diff) | |
| download | mruby-d21d5993b9452bdb7813e8c6b897241bbc72b758.tar.gz mruby-d21d5993b9452bdb7813e8c6b897241bbc72b758.zip | |
feat(CI): add a GitHub Action to check spelling
- Fix spelling
- Run only on pull request
- Using https://github.com/client9/misspell
Diffstat (limited to 'mrbgems/mruby-io')
| -rw-r--r-- | mrbgems/mruby-io/src/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mrbgems/mruby-io/src/file.c b/mrbgems/mruby-io/src/file.c index 1704579cf..58f4bcc6f 100644 --- a/mrbgems/mruby-io/src/file.c +++ b/mrbgems/mruby-io/src/file.c @@ -298,7 +298,7 @@ is_absolute_traditional_path(const char *path, size_t len) } static int -is_aboslute_unc_path(const char *path, size_t len) { +is_absolute_unc_path(const char *path, size_t len) { if (len < 2) return 0; return (CHECK_UNCDEV_PATH && !IS_DEVICEID(path[2])); } @@ -317,7 +317,7 @@ mrb_file_is_absolute_path(const char *path) if (len > 0) return ( is_absolute_traditional_path(path, len) || - is_aboslute_unc_path(path, len) || + is_absolute_unc_path(path, len) || is_absolute_device_path(path, len) ); else |
