X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=w32log.c;h=13e84690cb0dced4b511a4bf3508680689215b89;hp=37614dfcc490f550fc94b261f7b1f069509aeaa8;hb=5e64295a7ed3662f734abfb34d50a0f1a9dc5377;hpb=d3d2e02dc0e7a919f89dcf8a640ab44578f46b2d diff --git a/w32log.c b/w32log.c index 37614dfc..13e84690 100644 --- a/w32log.c +++ b/w32log.c @@ -1,4 +1,4 @@ -const char w32log_rcs[] = "$Id: w32log.c,v 1.8 2001/05/29 09:50:24 jongfoster Exp $"; +const char w32log_rcs[] = "$Id: w32log.c,v 1.9 2001/05/31 17:33:13 oes Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/w32log.c,v $ @@ -32,6 +32,10 @@ const char w32log_rcs[] = "$Id: w32log.c,v 1.8 2001/05/29 09:50:24 jongfoster Ex * * Revisions : * $Log: w32log.c,v $ + * Revision 1.9 2001/05/31 17:33:13 oes + * + * CRLF -> LF + * * Revision 1.8 2001/05/29 09:50:24 jongfoster * Unified blocklist/imagelist/permissionslist. * File format is still under discussion, but the internal changes @@ -190,7 +194,7 @@ int g_nFontSize = DEFAULT_LOG_FONT_SIZE; /* FIXME: this is a kludge */ -const char * g_permissions_file = NULL; +const char * g_actions_file = NULL; const char * g_forwardfile = NULL; #ifdef ACL_FILES const char * g_aclfile = NULL; @@ -1107,8 +1111,8 @@ void OnLogCommand(int nCommand) EditFile(configfile); break; - case ID_TOOLS_EDITPERMISSIONS: - EditFile(g_permissions_file); + case ID_TOOLS_EDITACTIONS: + EditFile(g_actions_file); break; case ID_TOOLS_EDITFORWARD: @@ -1183,7 +1187,7 @@ void OnLogCommand(int nCommand) void OnLogInitMenu(HMENU hmenu) { /* Only enable editors if there is a file to edit */ - EnableMenuItem(hmenu, ID_TOOLS_EDITPERMISSIONS, MF_BYCOMMAND | (g_permissions_file ? MF_ENABLED : MF_GRAYED)); + EnableMenuItem(hmenu, ID_TOOLS_EDITACTIONS, MF_BYCOMMAND | (g_actions_file ? MF_ENABLED : MF_GRAYED)); EnableMenuItem(hmenu, ID_TOOLS_EDITFORWARD, MF_BYCOMMAND | (g_forwardfile ? MF_ENABLED : MF_GRAYED)); #ifdef ACL_FILES EnableMenuItem(hmenu, ID_TOOLS_EDITACLS, MF_BYCOMMAND | (g_aclfile ? MF_ENABLED : MF_GRAYED));