summaryrefslogtreecommitdiff
path: root/win32/file.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-12-20 09:19:39 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-12-20 09:32:42 +0900
commitdb166290088fb7d39d01f68b9860253893d4f1a7 (patch)
tree68c1b2c3e7ff00ed5cd6a214e6644a28dca22261 /win32/file.c
parent2898367b3a1de00ca78067cc17dd4d1f8df37778 (diff)
Fixed misspellings
Fixed misspellings reported at [Bug #16437], only in ruby and rubyspec.
Diffstat (limited to 'win32/file.c')
-rw-r--r--win32/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/file.c b/win32/file.c
index 275520215a..9d21370019 100644
--- a/win32/file.c
+++ b/win32/file.c
@@ -552,7 +552,7 @@ rb_file_expand_path_internal(VALUE fname, VALUE dname, int abs_mode, int long_na
/* Determine require buffer size */
size = GetFullPathNameW(buffer, PATH_BUFFER_SIZE, wfullpath_buffer, NULL);
if (size > PATH_BUFFER_SIZE) {
- /* allocate more memory than alloted originally by PATH_BUFFER_SIZE */
+ /* allocate more memory than allotted originally by PATH_BUFFER_SIZE */
wfullpath = ALLOC_N(wchar_t, size);
size = GetFullPathNameW(buffer, size, wfullpath, NULL);
}