~mdw
/
sgt
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3da0b1d
)
Fix the System Caret so it really is invisible, and the right size
author
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 7 Jan 2001 16:35:44 +0000
(16:35 +0000)
committer
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 7 Jan 2001 16:35:44 +0000
(16:35 +0000)
too.
git-svn-id: svn://svn.tartarus.org/sgt/putty@842
cda61777
-01e9-0310-a592-
d414129be87e
window.c
patch
|
blob
|
blame
|
history
diff --git
a/window.c
b/window.c
index
b9f509e
..
8c2d96c
100644
(file)
--- a/
window.c
+++ b/
window.c
@@
-426,6
+426,7
@@
int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show) {
caretbm = CreateBitmap(font_width, font_height, 1, 1, bits);
sfree(bits);
}
+ CreateCaret(hwnd, caretbm, font_width, font_height);
/*
* Initialise the scroll bar.
@@
-1398,7
+1399,7
@@
static LRESULT CALLBACK WndProc (HWND hwnd, UINT message,
return 0;
case WM_SETFOCUS:
has_focus = TRUE;
- CreateCaret(hwnd, caretbm,
0, 0
);
+ CreateCaret(hwnd, caretbm,
font_width, font_height
);
ShowCaret(hwnd);
compose_state = 0;
term_out();