The best easter egg I could hide ;)

This commit is contained in:
Don HO 2018-09-19 00:32:26 +02:00
parent 71dd261a50
commit 74e89bdf5f
1 changed files with 3 additions and 1 deletions

View File

@ -6616,7 +6616,9 @@ Date::Date(const TCHAR *dateStr)
{
// timeStr should be Notepad++ date format : YYYYMMDD
assert(dateStr);
if (lstrlen(dateStr) == 8)
int D = lstrlen(dateStr);
if ( 8==D )
{
generic_string ds(dateStr);
generic_string yyyy(ds, 0, 4);