summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd
diff options
context:
space:
mode:
authorGravatarGravatar AJR <ajrhacker@users.noreply.github.com>2019-08-02 12:08:15 -0400
committerGravatarGravatar AJR <ajrhacker@users.noreply.github.com>2019-08-02 12:12:04 -0400
commit8013c43adf62485a9f9d95a45c525c97191c9398 (patch)
tree490dde363aeebcc50ad703a1136664152023065c /src/osd
parent478ec7352fec88d0506cc645a832677c6bc153d2 (diff)
Use canonical spelling of "canonical" (nw)
Diffstat (limited to 'src/osd')
-rw-r--r--src/osd/modules/file/winfile.cpp2
-rw-r--r--src/osd/modules/file/winrtfile.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/osd/modules/file/winfile.cpp b/src/osd/modules/file/winfile.cpp
index 66281d08b4a..5df7c4bb8b1 100644
--- a/src/osd/modules/file/winfile.cpp
+++ b/src/osd/modules/file/winfile.cpp
@@ -402,7 +402,7 @@ osd_file::error osd_get_full_path(std::string &dst, std::string const &path)
// convert the path to TCHARs
osd::text::tstring t_path = osd::text::to_tstring(path);
- // cannonicalize the path
+ // canonicalize the path
TCHAR buffer[MAX_PATH];
if (!GetFullPathName(t_path.c_str(), ARRAY_LENGTH(buffer), buffer, nullptr))
return win_error_to_file_error(GetLastError());
diff --git a/src/osd/modules/file/winrtfile.cpp b/src/osd/modules/file/winrtfile.cpp
index 2e561aa32a9..83d8d7c4915 100644
--- a/src/osd/modules/file/winrtfile.cpp
+++ b/src/osd/modules/file/winrtfile.cpp
@@ -348,7 +348,7 @@ osd_file::error osd_get_full_path(std::string &dst, std::string const &path)
// convert the path to TCHARs
osd::text::tstring t_path = osd::text::to_tstring(path);
- // cannonicalize the path
+ // canonicalize the path
TCHAR buffer[MAX_PATH];
if (!GetFullPathName(t_path.c_str(), ARRAY_LENGTH(buffer), buffer, nullptr))
return win_error_to_file_error(GetLastError());