]> git.sesse.net Git - vlc/commitdiff
Win32: forgotten error GUI messages
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 19 May 2011 22:46:19 +0000 (00:46 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 19 May 2011 22:46:57 +0000 (00:46 +0200)
bin/winvlc.c

index 4017ddd6514701478bf46ae0324bf34f5190984e..45036586ceb647bf64b8c269d24dba4c0b0e2569 100644 (file)
@@ -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);
             }
         }