Potential bug in Mork.cs



Hi!

I found a bug in Mork.cs:98
if (content [position].Equals ('/') && content [position].Equals ('/'))
    // Ignore comments
    position = content.IndexOf ('\n', position);

should be:
if (content [position].Equals ('/') && content [position+1].Equals ('/'))
    // Ignore comments
    position = content.IndexOf ('\n', position);

Could someone with write access to CVS please correct this bug and commit?

Regards,
	Florian

-- 
Florian Hackenberger
student @
University of Technology
Graz, Austria
florian hackenberger at
www.hackenberger.at



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]