mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 06:30:37 +00:00
msi: Get extension name by strrchrW instead of strchrW.
This commit is contained in:
parent
ff3d22ba42
commit
9612ed1ba6
@ -3840,7 +3840,7 @@ static WCHAR *get_link_file( MSIPACKAGE *package, MSIRECORD *row )
|
||||
filename = msi_dup_record_field( row, 3 );
|
||||
msi_reduce_to_long_filename( filename );
|
||||
|
||||
extension = strchrW( filename, '.' );
|
||||
extension = strrchrW( filename, '.' );
|
||||
if (!extension || strcmpiW( extension, szlnk ))
|
||||
{
|
||||
int len = strlenW( filename );
|
||||
|
Loading…
Reference in New Issue
Block a user