mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[DBGHELP] Avoid call of wine_get_dos_file_name
CORE-19444
This commit is contained in:
parent
e706083d50
commit
0610bcb3f9
1 changed files with 2 additions and 0 deletions
|
@ -673,6 +673,7 @@ WCHAR *get_dos_file_name(const WCHAR *filename)
|
|||
WCHAR *dos_path;
|
||||
size_t len;
|
||||
|
||||
#ifndef __REACTOS__
|
||||
if (*filename == '/')
|
||||
{
|
||||
char *unix_path;
|
||||
|
@ -683,6 +684,7 @@ WCHAR *get_dos_file_name(const WCHAR *filename)
|
|||
heap_free(unix_path);
|
||||
}
|
||||
else
|
||||
#endif
|
||||
{
|
||||
len = lstrlenW(filename);
|
||||
dos_path = heap_alloc((len + 1) * sizeof(WCHAR));
|
||||
|
|
Loading…
Reference in a new issue