projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f70a51a
)
Fix warning introduced a couple of commits ago.
author
Carl Hetherington
<cth@carlh.net>
Wed, 11 May 2022 19:12:28 +0000
(21:12 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 11 May 2022 19:12:28 +0000
(21:12 +0200)
src/lib/util.cc
patch
|
blob
|
history
diff --git
a/src/lib/util.cc
b/src/lib/util.cc
index 7d0d2bf606c698d3a2a4881f2336c4e156456899..133795e1b907b265e728dc3b4bddc6799c3e4e5c 100644
(file)
--- a/
src/lib/util.cc
+++ b/
src/lib/util.cc
@@
-791,7
+791,7
@@
careful_string_filter (string s)
/* Then remove anything that's not in a very limited character set */
wstring out;
wstring const allowed = L"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_%.+";
- for (
size_
t i = 0; i < transliterated_more.length(); ++i) {
+ for (
in
t i = 0; i < transliterated_more.length(); ++i) {
wchar_t c = transliterated_more[i];
if (allowed.find(c) != string::npos) {
out += c;