I should not write code when it is hot outside

clean up a if statement for realloc

svn path=/trunk/; revision=16590
This commit is contained in:
Magnus Olsen 2005-07-15 18:38:01 +00:00
parent 6850597254
commit eb4fb35571

View file

@ -280,7 +280,7 @@ INT cmd_copy (LPTSTR cmd, LPTSTR param)
{
size = GetEnvironmentVariable (_T("COPYCMD"), evar, 512);
}
if ((size > 1) && (size > 512))
if (size > 512)
{
evar = realloc(evar,size * sizeof(TCHAR) );
if (evar!=NULL)