diff options
Diffstat (limited to 'win32')
-rw-r--r-- | win32/file.c | 2 |
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); } |