mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-06 22:12:47 -05:00
Don't forget to initialise the pixel size parameters of the window
as passed to the pty... [originally from svn r2064]
This commit is contained in:
@ -79,6 +79,14 @@ void logevent(char *string)
|
||||
*/
|
||||
}
|
||||
|
||||
int font_dimension(int which) /* 0 for width, 1 for height */
|
||||
{
|
||||
if (which)
|
||||
return inst->font_height;
|
||||
else
|
||||
return inst->font_width;
|
||||
}
|
||||
|
||||
/*
|
||||
* Translate a raw mouse button designation (LEFT, MIDDLE, RIGHT)
|
||||
* into a cooked one (SELECT, EXTEND, PASTE).
|
||||
|
Reference in New Issue
Block a user