mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-29 00:10:02 -05:00
fix: Multiple race conditions with pattern sorting
This commit is contained in:
@@ -74,7 +74,7 @@ namespace hex {
|
||||
&& FcPatternGetString(font, FC_FAMILY, 0, &fullName) != FcResultMatch) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
registerFont(reinterpret_cast<const char *>(fullName), reinterpret_cast<const char *>(file));
|
||||
}
|
||||
|
||||
@@ -123,7 +123,7 @@ namespace hex {
|
||||
glfwWindowHint(GLFW_TRANSPARENT_FRAMEBUFFER, GLFW_TRUE);
|
||||
|
||||
#if defined(GLFW_WAYLAND_APP_ID)
|
||||
glfwWindowHintString(GLFW_WAYLAND_APP_ID, "imhex");
|
||||
glfwWindowHintString(GLFW_WAYLAND_APP_ID, "imhex");
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -190,4 +190,4 @@ namespace hex {
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user