added support for solid compression selection

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3995 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2005-04-23 20:26:11 +00:00
parent 682c9c3f94
commit b4146d6085
4 changed files with 52 additions and 22 deletions

View file

@ -140,13 +140,13 @@ void UpdateToolBarCompressorButton()
sizeof(temp));
my_memset(szBuffer, 0, sizeof(szBuffer));
lstrcat(szBuffer,temp);
lstrcat(szBuffer," (");
lstrcat(szBuffer," [");
LoadString(g_sdata.hInstance,
iString,
temp,
sizeof(temp));
lstrcat(szBuffer,temp);
lstrcat(szBuffer,")");
lstrcat(szBuffer,"]");
SendMessage(g_toolbar.hwnd, TB_CHANGEBITMAP, (WPARAM) IDM_COMPRESSOR, (LPARAM) MAKELPARAM(iBitmap, 0));