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

Jean-Baptiste Kempf git at videolan.org
Tue Oct 11 00:03:02 CEST 2016


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Oct 11 00:01:50 2016 +0200| [7f78843a291cdad34bebcbec23c7da81dbcdfdf2] | 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...

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7f78843a291cdad34bebcbec23c7da81dbcdfdf2
---

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

diff --git a/bin/winvlc.c b/bin/winvlc.c
index cc3ed75..fa11913 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
                     fprintf(stderr,"Couldn't send report to FTP server\n");
 
@@ -262,6 +261,8 @@ static void check_crashdump(void)
               fprintf(stderr,"There was an error while connecting to the Internet  0x%08lu\n",
                       (unsigned long)GetLastError());
         }
+        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