From 64a9d779e6d2f3e8b9b8492aea68fbf881d6d71b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Fri, 2 May 2008 12:10:49 +0000 Subject: [PATCH] * migrated SUBST stuff to hash * created cheaper variations of svprintf and applied them where appropriate --- webcit/auth.c | 30 ++--- webcit/context_loop.c | 12 +- webcit/graphics.c | 2 +- webcit/inetconf.c | 2 +- webcit/listsub.c | 2 +- webcit/mainmenu.c | 6 +- webcit/messages.c | 2 +- webcit/pushemail.c | 11 +- webcit/roomops.c | 12 +- webcit/serv_func.c | 2 +- webcit/sieve.c | 6 +- webcit/subst.c | 265 ++++++++++++++++++++++++++++++------------ webcit/summary.c | 2 +- webcit/sysdep.c | 1 + webcit/sysmsgs.c | 2 +- webcit/useredit.c | 4 +- webcit/vcard_edit.c | 2 +- webcit/webcit.c | 5 +- webcit/webcit.h | 24 +++- 19 files changed, 266 insertions(+), 126 deletions(-) diff --git a/webcit/auth.c b/webcit/auth.c index 2ee1bdd41..265547224 100644 --- a/webcit/auth.c +++ b/webcit/auth.c @@ -39,10 +39,10 @@ void display_login(char *mesg) if (mesg != NULL) if (!IsEmptyStr(mesg)) { stresc(buf, SIZ, mesg, 0, 0); - svprintf("mesg", WCS_STRING, "%s", buf); + svprintf(HKEY("mesg"), WCS_STRING, "%s", buf); } - svprintf("LOGIN_INSTRUCTIONS", WCS_STRING, + svprintf(HKEY("LOGIN_INSTRUCTIONS"), WCS_STRING, _("