diff --git a/test/test_opendialog_native.c b/test/test_opendialog_native.c index e600b73..57b4006 100644 --- a/test/test_opendialog_native.c +++ b/test/test_opendialog_native.c @@ -29,7 +29,7 @@ int main(void) { #ifdef _MSC_VER _putws(outPath); #else - fputws(outPath, stdin); + fputws(outPath, stdout); #endif #else puts(outPath); diff --git a/test/test_opendialog_native_with.c b/test/test_opendialog_native_with.c index cb96190..78caac2 100644 --- a/test/test_opendialog_native_with.c +++ b/test/test_opendialog_native_with.c @@ -32,7 +32,7 @@ int main(void) { #ifdef _MSC_VER _putws(outPath); #else - fputws(outPath, stdin); + fputws(outPath, stdout); #endif #else puts(outPath); diff --git a/test/test_pickfolder_native.c b/test/test_pickfolder_native.c index e311acc..b570bac 100644 --- a/test/test_pickfolder_native.c +++ b/test/test_pickfolder_native.c @@ -22,7 +22,7 @@ int main(void) { #ifdef _MSC_VER _putws(outPath); #else - fputws(outPath, stdin); + fputws(outPath, stdout); #endif #else puts(outPath); diff --git a/test/test_pickfolder_native_with.c b/test/test_pickfolder_native_with.c index c89502e..6e0f27c 100644 --- a/test/test_pickfolder_native_with.c +++ b/test/test_pickfolder_native_with.c @@ -23,7 +23,7 @@ int main(void) { #ifdef _MSC_VER _putws(outPath); #else - fputws(outPath, stdin); + fputws(outPath, stdout); #endif #else puts(outPath); diff --git a/test/test_savedialog_native.c b/test/test_savedialog_native.c index d1ee09d..641f1e4 100644 --- a/test/test_savedialog_native.c +++ b/test/test_savedialog_native.c @@ -35,7 +35,7 @@ int main(void) { #ifdef _MSC_VER _putws(savePath); #else - fputws(savePath, stdin); + fputws(savePath, stdout); #endif #else puts(savePath); diff --git a/test/test_savedialog_native_with.c b/test/test_savedialog_native_with.c index 8a86f54..8b146ee 100644 --- a/test/test_savedialog_native_with.c +++ b/test/test_savedialog_native_with.c @@ -39,7 +39,7 @@ int main(void) { #ifdef _MSC_VER _putws(savePath); #else - fputws(savePath, stdin); + fputws(savePath, stdout); #endif #else puts(savePath);