1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-17 11:00:59 -05:00

Make SaneDialogBox and SaneEndDialog use [GS]etWindowLong rather than

a global variable.  Should mean that pageant builds.

[originally from svn r3274]
This commit is contained in:
Owen Dunn
2003-06-18 17:25:18 +00:00
parent 27d54e8f96
commit a5ffab338d
3 changed files with 36 additions and 21 deletions

View File

@ -23,18 +23,15 @@ struct FontSpec {
int charset;
};
struct dlgboxinfo {
int result;
int flags;
};
#define BOXFLAGS DLGWINDOWEXTRA
#define BOXRESULT DLGWINDOWEXTRA + 4
#define DF_END 0x0001
/*
* Global variables. Most modules declare these `extern', but
* window.c will do `#define PUTTY_DO_GLOBALS' before including this
* module, and so will get them properly defined.
*/
*/
#ifndef GLOBAL
#ifdef PUTTY_DO_GLOBALS
#define GLOBAL
@ -70,11 +67,6 @@ typedef HDC Context;
*/
GLOBAL HWND logbox;
/*
* Global structure to hold return values from the config box.
*/
GLOBAL struct dlgboxinfo boxinfo;
/*
* The all-important instance handle.
*/