Rename is_wap to is_mobile
[citadel.git] / webcit / subst.c
index e3f57773276a2ea3c65b38f020d3175f858ce8d6..aa255b9a3984a0d4adb73e98857ec577c0b8116f 100644 (file)
@@ -357,7 +357,7 @@ void do_template(void *templatename) {
        struct stat mystat;
 
        strcpy(flat_filename, templatename);
-       if (WC->is_wap)
+       if (WC->is_mobile)
                strcat(flat_filename, ".m.html");
        else
                strcat(flat_filename, ".html");