From bb28950e825b8ccfca430b136d06704c9efc595f Mon Sep 17 00:00:00 2001 From: oes Date: Wed, 4 Sep 2002 15:48:33 +0000 Subject: [PATCH] Synced with the stable branch: Revision 1.48.2.1 2002/08/21 17:58:05 oes Temp kludge to let user and default action file be edited through win32 GUI (FR 592080) --- src/loadcfg.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/loadcfg.c b/src/loadcfg.c index e041463c..15c78a4e 100644 --- a/src/loadcfg.c +++ b/src/loadcfg.c @@ -1,7 +1,7 @@ -const char loadcfg_rcs[] = "$Id: loadcfg.c,v 2.0 2002/06/04 14:34:21 jongfoster Exp $"; +const char loadcfg_rcs[] = "$Id: loadcfg.c,v 2.1 2002/06/04 17:22:36 jongfoster Exp $"; /********************************************************************* * - * File : $Source: /cvsroot/ijbswa/current/src/loadcfg.c,v $ + * File : $Source: /cvsroot/ijbswa//current/src/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 2.0 2002/06/04 14:34:21 jongfoster * * Revisions : * $Log: loadcfg.c,v $ + * Revision 2.1 2002/06/04 17:22:36 jongfoster + * Adding comments + * * Revision 2.0 2002/06/04 14:34:21 jongfoster * Moving source files to src/ * @@ -1475,7 +1478,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 -- 2.39.2