diff scid/pageutil.c @ 46:16f1c72d1635

scid: simplify theme code
author David Demelier <markand@malikania.fr>
date Mon, 15 Aug 2022 17:57:34 +0200
parents 576f4b1ec79f
children b474f0985e39
line wrap: on
line diff
--- a/scid/pageutil.c	Thu Aug 11 21:24:50 2022 +0200
+++ b/scid/pageutil.c	Mon Aug 15 17:57:34 2022 +0200
@@ -68,7 +68,7 @@
 	 * KHTTP_ are numbered like a standard enum, the Javascript code must
 	 * get the appropriate HTTP code instead.
 	 */
-	body = theme_page_status(statustab[status], statusmsg[status]);
+	body = theme_status(statustab[status], statusmsg[status]);
 	pageutil_render(req, status, KMIME_TEXT_HTML, body);
 	free(body);
 }