fadeout done 🎉

This commit is contained in:
vaxerski
2022-04-05 20:49:15 +02:00
parent f8e0b0b448
commit a49bbf4508
12 changed files with 176 additions and 8 deletions

View File

@@ -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."); \
}