mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 03:52:49 -05:00
Alexey Savelyev's mkfiles.pl patch to support lcc-win32. This has
caused a small amount of extra inconvenience at the tops of .rc files, but it's been positive overall since lcc has managed to point out some pedantic errors (typically static/extern mismatches between function prototypes and definitions) which everything else missed. [originally from svn r3744]
This commit is contained in:
9
window.c
9
window.c
@ -110,7 +110,6 @@ static struct unicode_data ucsdata;
|
||||
static int session_closed;
|
||||
|
||||
static const struct telnet_special *specials;
|
||||
static int specials_menu_position;
|
||||
|
||||
static struct {
|
||||
HMENU menu;
|
||||
@ -4601,7 +4600,7 @@ char *get_window_title(void *frontend, int icon)
|
||||
/*
|
||||
* See if we're in full-screen mode.
|
||||
*/
|
||||
int is_full_screen()
|
||||
static int is_full_screen()
|
||||
{
|
||||
if (!IsZoomed(hwnd))
|
||||
return FALSE;
|
||||
@ -4640,7 +4639,7 @@ static int get_fullscreen_rect(RECT * ss)
|
||||
* Go full-screen. This should only be called when we are already
|
||||
* maximised.
|
||||
*/
|
||||
void make_full_screen()
|
||||
static void make_full_screen()
|
||||
{
|
||||
DWORD style;
|
||||
RECT ss;
|
||||
@ -4674,7 +4673,7 @@ void make_full_screen()
|
||||
/*
|
||||
* Clear the full-screen attributes.
|
||||
*/
|
||||
void clear_full_screen()
|
||||
static void clear_full_screen()
|
||||
{
|
||||
DWORD oldstyle, style;
|
||||
|
||||
@ -4704,7 +4703,7 @@ void clear_full_screen()
|
||||
/*
|
||||
* Toggle full-screen mode.
|
||||
*/
|
||||
void flip_full_screen()
|
||||
static void flip_full_screen()
|
||||
{
|
||||
if (is_full_screen()) {
|
||||
ShowWindow(hwnd, SW_RESTORE);
|
||||
|
Reference in New Issue
Block a user