more simple TCHARs fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6047 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
a92fad7347
commit
64a0f32e52
38 changed files with 1831 additions and 1961 deletions
|
@ -25,7 +25,6 @@
|
|||
|
||||
#include "makensisw.h"
|
||||
#include "resource.h"
|
||||
#include "noclib.h"
|
||||
#include "toolbar.h"
|
||||
#include "../ExDLL/nsis_tchar.h"
|
||||
|
||||
|
@ -133,7 +132,7 @@ void UpdateToolBarCompressorButton()
|
|||
TCHAR temp[64]; // increased to 64. Hit limit 08/20/2007 -- Jim Park.
|
||||
TOOLINFO ti;
|
||||
|
||||
my_memset(&ti, 0, sizeof(TOOLINFO));
|
||||
memset(&ti, 0, sizeof(TOOLINFO));
|
||||
|
||||
if(g_sdata.compressor >= COMPRESSOR_SCRIPT && g_sdata.compressor <= COMPRESSOR_BEST) {
|
||||
iBitmap = compressor_bitmaps[(int)g_sdata.compressor];
|
||||
|
@ -146,7 +145,7 @@ void UpdateToolBarCompressorButton()
|
|||
IDS_COMPRESSOR,
|
||||
temp,
|
||||
COUNTOF(temp));
|
||||
my_memset(szBuffer, 0, sizeof(szBuffer));
|
||||
memset(szBuffer, 0, sizeof(szBuffer));
|
||||
lstrcat(szBuffer,temp);
|
||||
lstrcat(szBuffer,_T(" ["));
|
||||
LoadString(g_sdata.hInstance,
|
||||
|
@ -174,7 +173,7 @@ void AddToolBarButtonTooltip(int id, int iString)
|
|||
TCHAR szBuffer[64];
|
||||
RECT rect;
|
||||
|
||||
my_memset(&ti, 0, sizeof(TOOLINFO));
|
||||
memset(&ti, 0, sizeof(TOOLINFO));
|
||||
|
||||
SendMessage(g_toolbar.hwnd, TB_GETITEMRECT, id, (LPARAM) (LPRECT) &rect);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue