Don't crash on trailing '%' in wxDateTime::Format(). See #17931
This commit is contained in:
@@ -822,6 +822,8 @@ void DateTimeTestCase::TestTimeFormat()
|
||||
}
|
||||
}
|
||||
|
||||
CPPUNIT_ASSERT(wxDateTime::Now().Format("%") == "%");
|
||||
|
||||
wxDateTime dt;
|
||||
|
||||
#if 0
|
||||
|
Reference in New Issue
Block a user