[Winpt-commits] r292 - trunk/Src

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Mar 12 21:37:13 CET 2007


Author: twoaday
Date: 2007-03-12 21:37:13 +0100 (Mon, 12 Mar 2007)
New Revision: 292

Modified:
   trunk/Src/wptVerifyList.cpp
Log:
oops. the second argument is end not len.



Modified: trunk/Src/wptVerifyList.cpp
===================================================================
--- trunk/Src/wptVerifyList.cpp	2007-03-12 20:33:51 UTC (rev 291)
+++ trunk/Src/wptVerifyList.cpp	2007-03-12 20:37:13 UTC (rev 292)
@@ -56,7 +56,7 @@
     if (p == NULL)
 	return m_strdup (path);
     pos = p-path;
-    return substr (path, pos+1, strlen (path)-pos);
+    return substr (path, pos+1, strlen (path)-1);
 }
 
 



More information about the Winpt-commits mailing list