1
1
Fork 0
mirror of https://github.com/pbatard/rufus.git synced 2024-08-14 23:57:05 +00:00

[flow] Fix copy-paste errors in func args checks

This commit is contained in:
Tsarevich Dmitry 2020-02-23 19:29:16 +03:00
parent a420fa4172
commit 7ddf983a85
No known key found for this signature in database
GPG key ID: E3C61298FF5B1274

View file

@ -1111,7 +1111,7 @@ char* replace_in_token_data(const char* filename, const char* token, const char*
goto out;
}
wtoken = utf8_to_wchar(token);
if (wfilename == NULL) {
if (wtoken == NULL) {
uprintf(conversion_error, token);
goto out;
}
@ -1121,7 +1121,7 @@ char* replace_in_token_data(const char* filename, const char* token, const char*
goto out;
}
wrep = utf8_to_wchar(rep);
if (wsrc == NULL) {
if (wrep == NULL) {
uprintf(conversion_error, rep);
goto out;
}