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 );
|
filename = msi_dup_record_field( row, 3 );
|
||||||
msi_reduce_to_long_filename( filename );
|
msi_reduce_to_long_filename( filename );
|
||||||
|
|
||||||
extension = strchrW( filename, '.' );
|
extension = strrchrW( filename, '.' );
|
||||||
if (!extension || strcmpiW( extension, szlnk ))
|
if (!extension || strcmpiW( extension, szlnk ))
|
||||||
{
|
{
|
||||||
int len = strlenW( filename );
|
int len = strlenW( filename );
|
||||||
|
|
Loading…
Reference in New Issue