From 47dc3a711fc3bf4de8a416748a51ba23af468a36 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Fri, 1 Jan 2010 15:39:28 +0000 Subject: [PATCH] * is_mobile evaluation is wrong here, since we're -1 or 0 if not / undetected; so we have to compare whether not 1 --- webcit/roomops.c | 2 +- webcit/subst.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webcit/roomops.c b/webcit/roomops.c index a60efb03e..d3dab0389 100644 --- a/webcit/roomops.c +++ b/webcit/roomops.c @@ -475,7 +475,7 @@ void embed_room_banner(char *got, int navbar_style) { do_template("roombanner", NULL); /* roombanner contains this for mobile */ - if (navbar_style != navbar_none && !WC->is_mobile) { + if (navbar_style != navbar_none && (WC->is_mobile < 1)) { wc_printf("