mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-08-18 18:22:01 +08:00
Avoid double quoting assert message conditions
wxFAIL_COND_MSG_AT() macro was already passed a quoted string, there is no need to quote it again.
This commit is contained in:
+1
-1
@@ -295,7 +295,7 @@ extern WXDLLIMPEXP_BASE void wxOnAssert(const char *file,
|
||||
#define wxFAIL_COND_MSG_AT(cond, msg, file, line, func) \
|
||||
wxSTATEMENT_MACRO_BEGIN \
|
||||
if ( wxTheAssertHandler && \
|
||||
(wxOnAssert(file, line, func, #cond, msg), \
|
||||
(wxOnAssert(file, line, func, cond, msg), \
|
||||
wxTrapInAssert) ) \
|
||||
{ \
|
||||
wxTrapInAssert = false; \
|
||||
|
||||
Reference in New Issue
Block a user