diff options
author | Yuri Kobets <yuri.kobets@gmail.com> | 2022-09-17 23:44:43 +0300 |
---|---|---|
committer | Yuri Kobets <yuri.kobets@gmail.com> | 2022-09-17 23:44:43 +0300 |
commit | ff0e7c73bd0b25fb45ab8e27d16f8288be553f05 (patch) | |
tree | 8e4460c80d78a682f5641b691aabcacc260d18fa /src/html.cpp | |
parent | a4aae391fa750b13e42364773fb5c9c37cc1d7aa (diff) |
Fixed: compilation is failed on Windows
Diffstat (limited to 'src/html.cpp')
-rw-r--r-- | src/html.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html.cpp b/src/html.cpp index fcb22e10..47832d9f 100644 --- a/src/html.cpp +++ b/src/html.cpp @@ -50,7 +50,7 @@ litehtml::tstring litehtml::index_value(int index, const tstring& strings, tchar tstring delims; delims.push_back(delim); split_string(strings, vals, delims); - if(index >= 0 and index < vals.size()) + if(index >= 0 && index < vals.size()) { return vals[index]; } |