diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-10-15 18:16:47 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-10-15 18:16:47 -0700 |
commit | 833abc27cc8653d92c4d275c042f35ced0ea3f94 (patch) | |
tree | 98b6af707453a688e6c4dbb258eca2f219ddfbf7 /common.cpp | |
parent | 3d5a3f03fa160edd0423ab6e8e93ba43c56b97a8 (diff) |
Make wildcards beginning with dots not match . and ..
Diffstat (limited to 'common.cpp')
-rw-r--r-- | common.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -512,7 +512,7 @@ bool contains_internal( const wchar_t *a, ... ) { const wchar_t *arg; va_list va; - int res = 0; + bool res = false; CHECK( a, 0 ); @@ -521,7 +521,7 @@ bool contains_internal( const wchar_t *a, ... ) { if( wcscmp( a,arg) == 0 ) { - res=1; + res = true; break; } |