[vlc-commits] win32: only one dialog thanking the user

Jean-Baptiste Kempf git at videolan.org
Wed Mar 8 23:43:50 CET 2017


vlc/vlc-2.2 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Oct 11 00:01:50 2016 +0200| [35a50e20f0489d6ff278ef5a43d9360e47c0c954] | committer: Jean-Baptiste Kempf

win32: only one dialog thanking the user

Rephrased in a way that paranoid users don't believe it is
passive-aggresive...

(cherry picked from commit 7f78843a291cdad34bebcbec23c7da81dbcdfdf2)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=35a50e20f0489d6ff278ef5a43d9360e47c0c954
---

 bin/winvlc.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/bin/winvlc.c b/bin/winvlc.c
index 40bca47..52b6aee 100644
--- a/bin/winvlc.c
+++ b/bin/winvlc.c
@@ -243,8 +243,7 @@ static void check_crashdump(void)
 
                 if( FtpPutFile( ftp, mv_crashdump_path, remote_file,
                             FTP_TRANSFER_TYPE_BINARY, 0) )
-                    MessageBox( NULL, L"Report sent correctly. Thanks a lot " \
-                                "for the help.", L"Report sent", MB_OK);
+                    fprintf(stderr, "Report sent correctly to FTP.\n");
                 else
                     MessageBox( NULL, L"There was an error while "\
                                 "transferring the data to the FTP server.\n"\
@@ -269,6 +268,8 @@ static void check_crashdump(void)
                                 "Thanks a lot for the help anyway.",
                                 L"Report sending failed", MB_OK);
         }
+        MessageBox( NULL, L"Thanks a lot for helping improving VLC!",
+                    L"VLC crash report" , MB_OK);
     }
 
     _wremove(mv_crashdump_path);



More information about the vlc-commits mailing list