[vlc-commits] Win32: forgotten error GUI messages

Jean-Baptiste Kempf git at videolan.org
Fri May 20 00:46:55 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri May 20 00:46:19 2011 +0200| [30b2de492e4e0922fe069682cb94ae5eaa9d55c1] | committer: Jean-Baptiste Kempf

Win32: forgotten error GUI messages

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

 bin/winvlc.c |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/bin/winvlc.c b/bin/winvlc.c
index 4017ddd..4503658 100644
--- a/bin/winvlc.c
+++ b/bin/winvlc.c
@@ -240,20 +240,25 @@ static void check_crashdump()
                         MessageBox( NULL, L"Report sent correctly. Thanks a lot for the help.",
                                     L"Report sent", MB_OK);
                     else
-                        MessageBox( NULL, L"There was an issue while transferring to the FTP server. "\
+                        MessageBox( NULL, L"There was an error while transferring to the FTP server. "\
                                     "Thanks a lot for the help anyway.",
-                                    L"Report sent", MB_OK);
+                                    L"Report sending failed", MB_OK);
                     InternetCloseHandle(ftp);
                 }
                 else
+                {
+                    MessageBox( NULL, L"There was an error while connecting to the FTP server. "\
+                                    "Thanks a lot for the help anyway.",
+                                    L"Report sending failed", MB_OK);
                     fprintf(stderr,"Can't connect to FTP server%d\n",GetLastError());
+                }
                 InternetCloseHandle(Hint);
             }
             else
             {
-                  MessageBox( NULL, L"There was an issue while connecting to Internet. "\
+                  MessageBox( NULL, L"There was an error while connecting to Internet. "\
                                     "Thanks a lot for the help anyway.",
-                                    L"Report sent", MB_OK);
+                                    L"Reporting sending failed", MB_OK);
             }
         }
 



More information about the vlc-commits mailing list