summaryrefslogtreecommitdiff
path: root/src/defines.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-04-05 20:49:15 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-04-05 20:49:15 +0200
commita49bbf450881581e27696405ebaefef63f7bde7a (patch)
tree2c5cd3ecc24b9138f5f8f087350fe9e71a6b6e90 /src/defines.hpp
parentf8e0b0b448b8b68f65ee1c3eebdd4eb3e3382138 (diff)
fadeout done 🎉
Diffstat (limited to 'src/defines.hpp')
-rw-r--r--src/defines.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/defines.hpp b/src/defines.hpp
index 7eb1b56a..4bd886e7 100644
--- a/src/defines.hpp
+++ b/src/defines.hpp
@@ -32,7 +32,7 @@
#ifndef __INTELLISENSE__
#define RASSERT(expr, reason, ...) \
- if (!expr) { \
+ if (!(expr)) { \
Debug::log(CRIT, "\n==========================================================================================\nASSERTION FAILED! \n\n%s\n\nat: line %d in %s", getFormat(reason, ##__VA_ARGS__).c_str(), __LINE__, ([]() constexpr->std::string { return std::string(__FILE__).substr(std::string(__FILE__).find_last_of('/') + 1); })().c_str()); \
RIP("Assertion failed! See the log in /tmp/hypr/hyprland.log for more info."); \
}