Commit b9cc7987 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

shell32: Avoid shadowing a parameter.

parent a326c9ee
......@@ -423,10 +423,10 @@ static HRESULT TRASH_GetDetails(const TRASH_BUCKET *bucket, LPCSTR filename, WIN
else
{
/* show only the file name */
char *filename = strrchr(original_file_name, '/');
if (filename == NULL)
filename = original_file_name;
MultiByteToWideChar(CP_UNIXCP, 0, filename, -1, data->cFileName, MAX_PATH);
char *file = strrchr(original_file_name, '/');
if (file == NULL)
file = original_file_name;
MultiByteToWideChar(CP_UNIXCP, 0, file, -1, data->cFileName, MAX_PATH);
}
deletion_date = XDG_GetStringValue(parsed, trashinfo_group, "DeletionDate", 0);
......
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