Freed 104 bytes for more dll imports, at the cost of 78 bytes of code

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1869 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
eccles 2002-12-02 23:08:10 +00:00
parent fa330ae04d
commit 3bfb7393d6
5 changed files with 29 additions and 11 deletions

View file

@ -4,6 +4,7 @@
#include "fileform.h"
#include "state.h"
#include "ui.h"
#include "util.h"
#ifdef NSIS_SUPPORT_BGBG
@ -52,7 +53,7 @@ LRESULT CALLBACK BG_WndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
static char buf[256];
r.left+=16;
r.top+=8;
GetWindowText(hwnd,buf,sizeof(buf));
my_GetWindowText(hwnd,buf,sizeof(buf));
SetBkMode(hdc,TRANSPARENT);
SetTextColor(hdc,bg_textcolor);
oldFont = SelectObject(hdc,newFont);