Author: gschneider
Date: Tue Nov 24 21:36:53 2009
New Revision: 44282
URL:
http://svn.reactos.org/svn/reactos?rev=44282&view=rev
Log:
[rosautotest]: Find the last underscore instead of the first one when building a module
name, hurray for twain_32_winetest and ws2_32_winetest
See issue #4929 for more details.
Modified:
trunk/rostests/rosautotest/CWineTest.cpp
Modified: trunk/rostests/rosautotest/CWineTest.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/rosautotest/CWineTest.cpp…
==============================================================================
--- trunk/rostests/rosautotest/CWineTest.cpp [iso-8859-1] (original)
+++ trunk/rostests/rosautotest/CWineTest.cpp [iso-8859-1] Tue Nov 24 21:36:53 2009
@@ -227,7 +227,7 @@
TestInfo->CommandLine += AsciiToUnicode(m_CurrentTest);
/* Store the Module name */
- UnderscorePosition = m_CurrentFile.find('_');
+ UnderscorePosition = m_CurrentFile.find_last_of('_');
if(UnderscorePosition == m_CurrentFile.npos)
{