mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Fixed compiler warnings.
svn path=/trunk/; revision=2179
This commit is contained in:
parent
73cbc9cc37
commit
55000d5cf0
1 changed files with 5 additions and 5 deletions
|
@ -41,7 +41,7 @@ void _wmakepath(wchar_t *path, const wchar_t *drive, const wchar_t *dir, const w
|
|||
if ((drive != NULL) && (*drive))
|
||||
{
|
||||
wcscpy(path, drive);
|
||||
wcscat(path, ":");
|
||||
wcscat(path, L":");
|
||||
}
|
||||
else
|
||||
(*path)=0;
|
||||
|
@ -50,8 +50,8 @@ void _wmakepath(wchar_t *path, const wchar_t *drive, const wchar_t *dir, const w
|
|||
{
|
||||
wcscat(path, dir);
|
||||
dir_len = wcslen(dir);
|
||||
if (dir_len && *(dir + dir_len - 1) != '\\')
|
||||
wcscat(path, "\\");
|
||||
if (dir_len && *(dir + dir_len - 1) != L'\\')
|
||||
wcscat(path, L"\\");
|
||||
}
|
||||
|
||||
if (fname != NULL)
|
||||
|
@ -59,8 +59,8 @@ void _wmakepath(wchar_t *path, const wchar_t *drive, const wchar_t *dir, const w
|
|||
wcscat(path, fname);
|
||||
if (ext != NULL)
|
||||
{
|
||||
if (*ext != '.')
|
||||
wcscat(path, ".");
|
||||
if (*ext != L'.')
|
||||
wcscat(path, L".");
|
||||
wcscat(path, ext);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue