Jim Park's Unicode NSIS merging - Step 1 : switch to TCHARs where relevant.
Compiler output is identical before & after this step git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/branches/wizou@6036 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
4e48722b63
commit
752d7d239a
209 changed files with 9698 additions and 7658 deletions
|
@ -12,6 +12,8 @@
|
|||
*
|
||||
* This software is provided 'as-is', without any express or implied
|
||||
* warranty.
|
||||
*
|
||||
* Unicode support by Jim Park -- 08/24/2007
|
||||
*/
|
||||
|
||||
#ifndef __CBZIP2_H__
|
||||
|
@ -71,23 +73,23 @@ class CBzip2 : public ICompressor {
|
|||
return stream->avail_out;
|
||||
}
|
||||
|
||||
const char* GetName() {
|
||||
return "bzip2";
|
||||
const TCHAR* GetName() {
|
||||
return _T("bzip2");
|
||||
}
|
||||
|
||||
const char* GetErrStr(int err) {
|
||||
const TCHAR* GetErrStr(int err) {
|
||||
switch (err)
|
||||
{
|
||||
case BZ_SEQUENCE_ERROR:
|
||||
return "sequence error - bad call";
|
||||
return _T("sequence error - bad call");
|
||||
case BZ_PARAM_ERROR:
|
||||
return "parameter error - bad call";
|
||||
return _T("parameter error - bad call");
|
||||
case BZ_MEM_ERROR:
|
||||
return "not enough memory";
|
||||
return _T("not enough memory");
|
||||
case BZ_CONFIG_ERROR:
|
||||
return "config error";
|
||||
return _T("config error");
|
||||
default:
|
||||
return "unknown error";
|
||||
return _T("unknown error");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue