simplifications and minor fixes

This commit is contained in:
Glenn Maynard
2003-01-16 23:22:21 +00:00
parent ffc6ae2c37
commit 1e66c63774
5 changed files with 16 additions and 47 deletions
+1 -1
View File
@@ -201,7 +201,7 @@ void splitpath( CString Path, CString& Dir, CString& Filename, CString& Ext )
Dir = mat[0];
Path = mat[1];
if(regex("^(.*)(\\....)$", Path, mat))
if(regex("^(.*)(\\.[^\\.]+)$", Path, mat))
{
Filename = mat[0];
Ext = mat[1];