X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fsubst.c;h=66ce691acef238bb3c05caf1397c095d5058eed0;hb=bb60054aa94157ce6bb247a64a14154eb6f818e5;hp=a4d8d2aaf06d490e9f835c5e288fb3e36e5e4c87;hpb=637489995ca72832b759f2f9e6458c93d0042c40;p=citadel.git diff --git a/webcit/subst.c b/webcit/subst.c index a4d8d2aaf..66ce691ac 100644 --- a/webcit/subst.c +++ b/webcit/subst.c @@ -1710,6 +1710,7 @@ int LoadTemplateDir(const StrBuf *DirName, HashList *wireless, HashList *big, co (strcmp(&filedir_entry->d_name[d_without_ext], ".swp") == 0)) continue; /* Ignore backup files... */ /* .m.xxx is for mobile useragents! */ + IsMobile = 0; if (d_without_ext > 2) IsMobile = (filedir_entry->d_name[d_without_ext - 1] == 'm') && (filedir_entry->d_name[d_without_ext - 2] == '.');