[ros-diffs] [gschneider] 44282: [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.

gschneider at svn.reactos.org gschneider at svn.reactos.org
Tue Nov 24 21:36:53 CET 2009


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?rev=44282&r1=44281&r2=44282&view=diff
==============================================================================
--- 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)
                 {




More information about the Ros-diffs mailing list