projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Alexey Savelyev's mkfiles.pl patch to support lcc-win32. This has
[u/mdw/putty]
/
window.c
diff --git
a/window.c
b/window.c
index
9a9a5ce
..
f13f0d4
100644
(file)
--- a/
window.c
+++ b/
window.c
@@
-110,7
+110,6
@@
static struct unicode_data ucsdata;
static int session_closed;
static const struct telnet_special *specials;
static int session_closed;
static const struct telnet_special *specials;
-static int specials_menu_position;
static struct {
HMENU menu;
static struct {
HMENU menu;
@@
-4601,7
+4600,7
@@
char *get_window_title(void *frontend, int icon)
/*
* See if we're in full-screen mode.
*/
/*
* See if we're in full-screen mode.
*/
-int is_full_screen()
+
static
int is_full_screen()
{
if (!IsZoomed(hwnd))
return FALSE;
{
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.
*/
* 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;
{
DWORD style;
RECT ss;
@@
-4674,7
+4673,7
@@
void make_full_screen()
/*
* Clear the full-screen attributes.
*/
/*
* Clear the full-screen attributes.
*/
-void clear_full_screen()
+
static
void clear_full_screen()
{
DWORD oldstyle, style;
{
DWORD oldstyle, style;
@@
-4704,7
+4703,7
@@
void clear_full_screen()
/*
* Toggle full-screen mode.
*/
/*
* Toggle full-screen mode.
*/
-void flip_full_screen()
+
static
void flip_full_screen()
{
if (is_full_screen()) {
ShowWindow(hwnd, SW_RESTORE);
{
if (is_full_screen()) {
ShowWindow(hwnd, SW_RESTORE);