Kaydet (Commit) 735cd485 authored tarafından Pavel Janík's avatar Pavel Janík

Add missing strlen.

üst b27ff0a0
......@@ -154,7 +154,7 @@ static char* platformSpecific()
if ( !access( MACDEFAULTSOFFICE, F_OK ) )
{
path = (char*) malloc( MACDEFAULTOFFICEPATH + 1 );
path = (char*) malloc( strlen(MACDEFAULTOFFICEPATH) + 1 );
strcpy( path, MACDEFAULTOFFICEPATH);
}
return path;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment