projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Having created and used uxsel, it actually turns out to be
[u/mdw/putty]
/
sizetip.c
diff --git
a/sizetip.c
b/sizetip.c
index
ab709b5
..
320fa0a
100644
(file)
--- a/
sizetip.c
+++ b/
sizetip.c
@@
-42,7
+42,7
@@
static LRESULT CALLBACK SizeTipWndProc(HWND hWnd, UINT nMsg,
Rectangle(hdc, cr.left, cr.top, cr.right, cr.bottom);
wtlen = GetWindowTextLength(hWnd);
- wt = (LPTSTR) s
malloc((wtlen + 1) * sizeof(TCHAR)
);
+ wt = (LPTSTR) s
newn(wtlen + 1, TCHAR
);
GetWindowText(hWnd, wt, wtlen + 1);
SetTextColor(hdc, tip_text);