From dbe2733911138ab09bdd90330c3f7e581af5ff97 Mon Sep 17 00:00:00 2001 From: oes Date: Wed, 21 Aug 2002 17:58:05 +0000 Subject: [PATCH] Temp kludge to let user and default action file be edited through win32 GUI (FR 592080) --- loadcfg.c | 10 +++++++--- w32log.h | 10 +++++++--- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/loadcfg.c b/loadcfg.c index 1d6a10eb..36256e22 100644 --- a/loadcfg.c +++ b/loadcfg.c @@ -1,7 +1,7 @@ -const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.47 2002/05/12 21:36:29 jongfoster Exp $"; +const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.48 2002/05/14 21:30:38 oes Exp $"; /********************************************************************* * - * File : $Source: /cvsroot/ijbswa/current/loadcfg.c,v $ + * File : $Source: /cvsroot/ijbswa//current/Attic/loadcfg.c,v $ * * Purpose : Loads settings from the configuration file into * global variables. This file contains both the @@ -35,6 +35,9 @@ const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.47 2002/05/12 21:36:29 jongfoster * * Revisions : * $Log: loadcfg.c,v $ + * Revision 1.48 2002/05/14 21:30:38 oes + * savearg now uses own linking code instead of (now special-cased) add_help_link + * * Revision 1.47 2002/05/12 21:36:29 jongfoster * Correcting function comments * @@ -1456,7 +1459,8 @@ struct configuration_spec * load_config(void) /* FIXME: this is a kludge for win32 */ #if defined(_WIN32) && !defined (_WIN_CONSOLE) - g_actions_file = config->actions_file[0]; /* FIXME only works for first action file */ + g_default_actions_file = config->actions_file[1]; /* FIXME Hope this is default.action */ + g_user_actions_file = config->actions_file[2]; /* FIXME Hope this is user.action */ g_re_filterfile = config->re_filterfile; #ifdef FEATURE_TRUST diff --git a/w32log.h b/w32log.h index 2634a95c..6c7a7628 100644 --- a/w32log.h +++ b/w32log.h @@ -1,9 +1,9 @@ #ifndef W32LOG_H_INCLUDED #define W32LOG_H_INCLUDED -#define W32LOG_H_VERSION "$Id: w32log.h,v 1.9 2002/03/24 12:03:47 jongfoster Exp $" +#define W32LOG_H_VERSION "$Id: w32log.h,v 1.10 2002/03/26 22:57:10 jongfoster Exp $" /********************************************************************* * - * File : $Source: /cvsroot/ijbswa/current/w32log.h,v $ + * File : $Source: /cvsroot/ijbswa//current/Attic/w32log.h,v $ * * Purpose : Functions for creating and destroying the log window, * ouputting strings, processing messages and so on. @@ -34,6 +34,9 @@ * * Revisions : * $Log: w32log.h,v $ + * Revision 1.10 2002/03/26 22:57:10 jongfoster + * Web server name should begin www. + * * Revision 1.9 2002/03/24 12:03:47 jongfoster * Name change * @@ -129,7 +132,8 @@ extern int g_nFontSize; /* FIXME: this is a kludge */ -extern const char * g_actions_file; +extern const char * g_default_actions_file; +extern const char * g_user_actions_file; extern const char * g_re_filterfile; #ifdef FEATURE_TRUST extern const char * g_trustfile; -- 2.49.0