fix: Opening multiple files by dragging them onto the window

This commit is contained in:
WerWolv 2022-11-10 11:17:21 +01:00
parent b29d184488
commit 7f0bdea212
1 changed files with 0 additions and 3 deletions

View File

@ -636,9 +636,6 @@ namespace hex {
});
glfwSetDropCallback(this->m_window, [](GLFWwindow *, int count, const char **paths) {
if (count != 1)
return;
for (int i = 0; i < count; i++) {
auto path = std::fs::path(reinterpret_cast<const char8_t *>(paths[i]));