Differences From Artifact [9574967cdc8457be]:
- File
kilib/kl_wcmn.cpp
- 2011-02-23 13:30:53 - part of checkin [5128eecc9f] on branch trunk - Copied from private svn repository. (user: kinaba) [annotate]
To Artifact [f3baeef4f3c35434]:
- File
kilib/kl_wcmn.cpp
- 2017-05-30 13:07:57 - part of checkin [36ad977839] on branch trunk - 1.22: Enlarged the header search range (for SFX skip) for new UNLHA. (user: kinaba) [annotate]
74 74 {
75 75 psl->SetPath( kiPath(kiPath::Exe_name) );
76 76 psl->SetWorkingDirectory( kiPath(kiPath::Exe,false) );
77 77
78 78 IPersistFile* ppf;
79 79 if( SUCCEEDED(psl->QueryInterface(IID_IPersistFile,(void**)&ppf)) )
80 80 {
81 - WORD wsz[MAX_PATH];
81 + WCHAR wsz[MAX_PATH];
82 82 kiPath lnkfile( at );
83 83 lnkfile += name, lnkfile += ".lnk";
84 84 ::MultiByteToWideChar(CP_ACP,0,lnkfile,-1,wsz,MAX_PATH);
85 85 ppf->Save(wsz,TRUE);
86 86 ppf->Release();
87 87 }
88 88 psl->Release();