Commit 9612ed1b authored by Qian Hong's avatar Qian Hong Committed by Alexandre Julliard

msi: Get extension name by strrchrW instead of strchrW.

parent ff3d22ba
...@@ -3840,7 +3840,7 @@ static WCHAR *get_link_file( MSIPACKAGE *package, MSIRECORD *row ) ...@@ -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 );
......
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