This commit is contained in:
henrypp committed 2019-09-23 15:08:54 +06:00
1 parent 4a1e431b22
commit 12f1ea5fd6
1 file changed
+1 -3
+1 -3
View File
@@ -369,9 +369,7 @@ void _app_getdisplayname (size_t app_hash, ITEM_APP* ptr_app, LPWSTR * extracted
if (app.ConfigGet (L"ShowFilenames", true).AsBool ())
{
const rstring path = _r_path_getfilename (ptr_path);
_r_str_alloc (extracted_name, path.GetLength (), path);
_r_str_alloc (extracted_name, INVALID_SIZE_T, _r_path_getfilename (ptr_path));
}
else
{