Skip to content

Commit edf7bfb

Browse files
author
jan.nijtmans
committed
Don't use strange syntax for MoveFileW
1 parent 877603a commit edf7bfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

win/tclWinFCmd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ DoRenameFile(
267267
#ifndef HAVE_NO_SEH
268268
__try {
269269
#endif
270-
if ((*MoveFileW)(nativeSrc, nativeDst) != FALSE) {
270+
if (MoveFileW(nativeSrc, nativeDst) != FALSE) {
271271
retval = TCL_OK;
272272
}
273273
#ifndef HAVE_NO_SEH

0 commit comments

Comments
 (0)