+/***********************************************************************
+ *           NeedCurrentDirectoryForExePathA   (KERNEL32.@)
+ */
+BOOL WINAPI NeedCurrentDirectoryForExePathA( LPCSTR name )
+{
+    WCHAR *nameW;
+
+    if (!(nameW = FILE_name_AtoW( name, FALSE ))) return TRUE;

If FILE_name_AtoW fails, the function fails, so the return value should be 
FALSE, shouldn't it ?

Laurent

On Wed, 18 Apr 2007 15:54:42 +0400, "Kirill K. Smirnov" <[EMAIL PROTECTED]> 
wrote:
> Please, ignore my previous attempt.
> 
> 



Reply via email to