case of the string on our end before doing any comparisons.
e.xtitle = strtrim(title);
e.type = "MITS";
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";
e.type = "FACULTY";
if (!strcmp(e.dept, "LINCOLN LAB"))
e.type = "LINCOLN";