[Coverity] Fix some duplicate defects that I didn't notice

This commit is contained in:
baldurk
2016-05-01 15:24:39 +02:00
parent faa385647d
commit d98c29b1d5
2 changed files with 15 additions and 9 deletions
+1 -1
View File
@@ -385,7 +385,7 @@ int WINAPI wWinMain(_In_ HINSTANCE hInst,
fn = strchr(fn, '/');
if(fn) fn++;
if(*fn)
if(fn && *fn)
{
wchar_t conv[MAX_PATH] = {0};
wchar_t *wfn = conv;