Cleanup: missed renaming BLI_cleanup_unc_16 in recent refactor
Missed from d14e768069
This commit is contained in:
parent
b0d565e5b6
commit
57468ae37e
|
@ -109,7 +109,7 @@ bool BLI_path_is_unc(const char *path);
|
|||
void BLI_path_to_display_name(char *display_name, int maxlen, const char *name) ATTR_NONNULL();
|
||||
|
||||
#if defined(WIN32)
|
||||
void BLI_cleanup_unc_16(wchar_t *path_16);
|
||||
void BLI_path_normalize_unc_16(wchar_t *path_16);
|
||||
void BLI_path_normalize_unc(char *path_16, int maxlen);
|
||||
#endif
|
||||
|
||||
|
|
|
@ -497,11 +497,11 @@ static void BLI_path_unc_to_short(wchar_t *unc)
|
|||
void BLI_path_normalize_unc(char *path, int maxlen)
|
||||
{
|
||||
wchar_t *tmp_16 = alloc_utf16_from_8(path, 1);
|
||||
BLI_cleanup_unc_16(tmp_16);
|
||||
BLI_path_normalize_unc_16(tmp_16);
|
||||
conv_utf_16_to_8(tmp_16, path, maxlen);
|
||||
}
|
||||
|
||||
void BLI_cleanup_unc_16(wchar_t *path_16)
|
||||
void BLI_path_normalize_unc_16(wchar_t *path_16)
|
||||
{
|
||||
BLI_path_unc_to_short(path_16);
|
||||
BLI_path_add_slash_to_share(path_16);
|
||||
|
|
|
@ -316,7 +316,7 @@ int BLI_exists(const char *name)
|
|||
* 2. after the C:\ when the path is the volume only
|
||||
*/
|
||||
if ((len >= 3) && (tmp_16[0] == L'\\') && (tmp_16[1] == L'\\')) {
|
||||
BLI_cleanup_unc_16(tmp_16);
|
||||
BLI_path_normalize_unc_16(tmp_16);
|
||||
}
|
||||
|
||||
if ((tmp_16[1] == L':') && (tmp_16[2] == L'\0')) {
|
||||
|
|
Loading…
Reference in New Issue