1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-02 03:52:49 -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

@ -8,6 +8,8 @@
#include <assert.h>
#include <tchar.h>
#define PUTTY_DO_GLOBALS
#include "putty.h"
#include "ssh.h"
#include "misc.h"
@ -54,9 +56,7 @@ static HWND keylist;
static HWND aboutbox;
static HMENU systray_menu, session_menu;
static int already_running;
static int requested_help;
char *help_path;
static char *putty_path;
/* CWD for "add key" file requester. */