1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-16 02:27:32 -05:00

Move the MessageBox-with-help function out into winutils.c, although it's

still only used for the host key popups. Side-effects:
 - requested_help is a winstuff.h global
 - Pageant now defines winstuff.h globals

(Also, my previous fix to my improved host-key dialogs only got the "changed"
case, not the "unknown" case. Some days I shouldn't be let near a keyboard.)

[originally from svn r5415]
This commit is contained in:
Jacob Nevins
2005-03-01 00:00:09 +00:00
parent f246144c44
commit 182a511ec3
6 changed files with 76 additions and 64 deletions

View File

@ -85,6 +85,7 @@ GLOBAL HINSTANCE hinst;
*/
GLOBAL char *help_path;
GLOBAL int help_has_contents;
GLOBAL int requested_help;
/*
* The terminal and logging context are notionally local to the
@ -177,6 +178,7 @@ typedef struct filereq_tag filereq; /* cwd for file requester */
BOOL request_file(filereq *state, OPENFILENAME *of, int preserve, int save);
filereq *filereq_new(void);
void filereq_free(filereq *state);
int message_box(LPCTSTR text, LPCTSTR caption, DWORD style, DWORD helpctxid);
void split_into_argv(char *, int *, char ***, char ***);
/*