]> andersk Git - moira.git/blobdiff - regtape/staff.pc
Command line printer manipulation client, and build goo.
[moira.git] / regtape / staff.pc
index 558e6d27a77db6b6653955e93d9c762e7c12efd4..6a384f02d85ef0be387f9112c40fdb95784193a6 100644 (file)
@@ -174,9 +174,6 @@ struct entry *get_next_entry(FILE *in)
                  &ends_iv, &ends_v);
   LookForJrAndIII(e.first, &ends_jr, &ends_sr, &ends_ii, &ends_iii,
                  &ends_iv, &ends_v);
-  FixCase(e.last);
-  FixCase(e.first);
-  FixCase(e.middle);
 
   e.name = buf;
   if (*e.middle)
@@ -242,7 +239,8 @@ struct entry *get_next_entry(FILE *in)
   e.xtitle = strtrim(title);
 
   e.type = "MITS";
-  if (strstr(e.xtitle, "PROF") || strstr(e.xtitle, "LECTURE"))
+  if (strstr(uppercase(e.xtitle), "PROF") ||
+      strstr(uppercase(e.xtitle), "LECTURE"))
     e.type = "FACULTY";
   if (!strcmp(e.dept, "LINCOLN LAB"))
     e.type = "LINCOLN";
This page took 0.033363 seconds and 4 git commands to generate.