log and format for wstrings.

This commit is contained in:
Paul Rouget 2020-06-08 12:32:00 +02:00
parent 60ee588c71
commit 805b79b32c
10 changed files with 37 additions and 57 deletions

View file

@ -178,7 +178,7 @@ Servo::Servo(hstring url, hstring args, GLsizei width, GLsizei height,
} else if (type == Windows::Foundation::PropertyType::Empty) {
pref.pref_type = capi::CPrefType::Missing;
} else {
log("skipping pref %s. Unknown type", key);
log(L"skipping pref %s. Unknown type", key);
continue;
}
cprefs.push_back(pref);