diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2016-02-15 13:27:00 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2016-02-15 13:27:00 -0800 |
commit | 5b506499c1abafddeba13cb2edd37611a47f2379 (patch) | |
tree | 72943e3f4a4dbaf0cbf07d2b35a340f0691f1789 /src/common.cpp | |
parent | 62b76b26b4a8afc6987b65f0ad02a18dee093f2e (diff) |
Use contains instead of string ==
Fix a few typos too
Diffstat (limited to 'src/common.cpp')
-rw-r--r-- | src/common.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.cpp b/src/common.cpp index aa5b77c8..21c4b92c 100644 --- a/src/common.cpp +++ b/src/common.cpp @@ -549,7 +549,7 @@ bool contains_internal(const wchar_t *a, int vararg_handle, ...) return res; } -/* wcstring variant of contains_internal. The first parameter is a wcstring, the rest are const wchar_t *. vararg_handle exists only to give us a POD-value to apss to va_start */ +/* wcstring variant of contains_internal. The first parameter is a wcstring, the rest are const wchar_t *. vararg_handle exists only to give us a POD-value to pass to va_start */ __sentinel bool contains_internal(const wcstring &needle, int vararg_handle, ...) { const wchar_t *arg; |