projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* is_mobile evaluation is wrong here, since we're -1 or 0 if not / undetected; so...
[citadel.git]
/
webcit
/
subst.c
diff --git
a/webcit/subst.c
b/webcit/subst.c
index ecfa4a70ceaba7ff43ccf763e57bb2d939271f75..31be4b4a8a016399b0b8da15ee98caf110367ce4 100644
(file)
--- a/
webcit/subst.c
+++ b/
webcit/subst.c
@@
-1961,7
+1961,7
@@
const StrBuf *DoTemplate(const char *templatename, long len, StrBuf *Target, WCT
TP = &LocalTP;
}
- if (WC->is_mobile) {
+ if (WC->is_mobile
> 0
) {
Static = WirelessTemplateCache;
StaticLocal = WirelessLocalTemplateCache;
}