Module: wine Branch: master Commit: 0b5ba1d0be04f7c6bc0e53e9a28984cf2941b4bc URL: https://source.winehq.org/git/wine.git/?a=commit;h=0b5ba1d0be04f7c6bc0e53e9a...
Author: Hugh McMaster hugh.mcmaster@outlook.com Date: Thu Jul 15 23:36:11 2021 +1000
reg/tests: Use correct file and line arguments with delete_file().
Signed-off-by: Hugh McMaster hugh.mcmaster@outlook.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
programs/reg/tests/export.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/reg/tests/export.c b/programs/reg/tests/export.c index 31a75566fae..0a460e08bcb 100644 --- a/programs/reg/tests/export.c +++ b/programs/reg/tests/export.c @@ -50,7 +50,7 @@ BOOL compare_export_(const char *file, unsigned line, const char *filename, todo_wine_if (todo & TODO_REG_COMPARE) lok(!lstrcmpW(fbuf, wstr), "export data does not match expected data\n");
- ret = delete_file(filename); + ret = delete_file_(file, line, filename);
exit: HeapFree(GetProcessHeap(), 0, fbuf);