Skip to content

Commit 1c23477

Browse files
committed
force includes to lowercase
fixing more errors
1 parent 36bb6d8 commit 1c23477

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

_NscLib/NscContext.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1860,12 +1860,18 @@ try_again:;
18601860
if (p)
18611861
*p = 0;
18621862

1863+
//
1864+
// Make all includes lowercase
1865+
//
1866+
size_t i;
1867+
for(i = 0; pszTemp[i] != '\0'; i++)
1868+
pszTemp[i] = tolower(pszTemp[i]);
1869+
18631870
//
18641871
// Search the current list of included files and see
18651872
// if we have already done it
18661873
//
18671874

1868-
size_t i;
18691875
for (i = 0; i < m_asFiles .size (); i++)
18701876
{
18711877
if (stricmp (m_asFiles [i] .strName .c_str (), pszTemp) == 0)

0 commit comments

Comments
 (0)