aboutsummaryrefslogtreecommitdiff
path: root/editors/imhex/files/patch-main_source_window_window.cpp
blob: fea26fd85d645e602426b6b352aac93d9f184764 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- main/source/window/window.cpp.orig	2022-07-04 19:53:18 UTC
+++ main/source/window/window.cpp
@@ -148,7 +148,6 @@ namespace hex {
         std::signal(SIGSEGV, signalHandler);
         std::signal(SIGINT, signalHandler);
         std::signal(SIGILL, signalHandler);
-        std::signal(SIGABRT, signalHandler);
         std::signal(SIGFPE, signalHandler);
 
         auto imhexLogo      = romfs::get("logo.png");
@@ -606,7 +605,7 @@ namespace hex {
                 return;
 
             for (int i = 0; i < count; i++) {
-                auto path = std::fs::path(reinterpret_cast<const char8_t *>(paths[i]));
+                auto path = std::fs::path(paths[i]);
 
                 bool handled = false;
                 for (const auto &[extensions, handler] : ContentRegistry::FileHandler::getEntries()) {