Fix typos (#1109)
This commit is contained in:
@@ -80,7 +80,7 @@ std::filesystem::path active_runtime::openvr_compat_path()
|
||||
return std::filesystem::path();
|
||||
},
|
||||
[](const std::string & path) {
|
||||
// exlicit value, use it
|
||||
// explicit value, use it
|
||||
std::optional<std::filesystem::path> flatpak_root = flatpak_key(flatpak::section::instance, "app-path");
|
||||
return flatpak_root.value_or("") / path;
|
||||
},
|
||||
|
||||
@@ -28,7 +28,7 @@ wivrn::fd_base open_uinput_or_throw(int flags = O_WRONLY)
|
||||
int fd = ::open(p, flags | O_NONBLOCK);
|
||||
if (fd >= 0)
|
||||
return fd;
|
||||
if (errno != ENOENT) // exists but inaccessbile
|
||||
if (errno != ENOENT) // exists but inaccessible
|
||||
throw std::system_error(errno, std::generic_category(), "error while opening uinput");
|
||||
}
|
||||
throw std::runtime_error("no uinput device found");
|
||||
|
||||
Reference in New Issue
Block a user