From a49bbf450881581e27696405ebaefef63f7bde7a Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Tue, 5 Apr 2022 20:49:15 +0200 Subject: =?UTF-8?q?fadeout=20done=20=F0=9F=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/defines.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/defines.hpp') 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."); \ } -- cgit v1.2.3