mirror of
https://github.com/swaywm/sway.git
synced 2025-11-09 13:29:49 -05:00
fixed move_container bug, log prints before aborting
This commit is contained in:
parent
eb53f173c5
commit
274e56a602
2 changed files with 8 additions and 5 deletions
|
|
@ -105,15 +105,15 @@ bool _sway_assert(bool condition, const char* format, ...) {
|
|||
return true;
|
||||
}
|
||||
|
||||
#ifndef NDEBUG
|
||||
raise(SIGABRT);
|
||||
#endif
|
||||
|
||||
va_list args;
|
||||
va_start(args, format);
|
||||
sway_log(L_ERROR, format, args);
|
||||
va_end(args);
|
||||
|
||||
#ifndef NDEBUG
|
||||
raise(SIGABRT);
|
||||
#endif
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue