mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
msi: Get extension name by strrchrW instead of strchrW.
This commit is contained in:
parent
ff3d22ba42
commit
9612ed1ba6
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue