From: Wilfried Göesgens Date: Fri, 1 Jan 2010 15:39:28 +0000 (+0000) Subject: * is_mobile evaluation is wrong here, since we're -1 or 0 if not / undetected; so... X-Git-Tag: v7.86~538 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=47dc3a711fc3bf4de8a416748a51ba23af468a36 * is_mobile evaluation is wrong here, since we're -1 or 0 if not / undetected; so we have to compare whether not 1 --- 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("