Explain what Yes/No means in an assert window
It's a bit confusing to get a yes/no dialogue box without any indication of what yes or no will do in this situation, so add a short explanatory sentence.
This commit is contained in:
parent
24f05f14f2
commit
982663c728
|
@ -13,7 +13,7 @@
|
||||||
#define _assert_msg_(_t_, _a_, _fmt_, ...) \
|
#define _assert_msg_(_t_, _a_, _fmt_, ...) \
|
||||||
if (!(_a_)) \
|
if (!(_a_)) \
|
||||||
{ \
|
{ \
|
||||||
if (!PanicYesNo(_fmt_, __VA_ARGS__)) \
|
if (!PanicYesNo(_fmt_ "\n\nIgnore and continue?", __VA_ARGS__)) \
|
||||||
Crash(); \
|
Crash(); \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue