aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/win_updater/updater.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/win_updater/updater.cpp')
-rw-r--r--linden/indra/win_updater/updater.cpp18
1 files changed, 14 insertions, 4 deletions
diff --git a/linden/indra/win_updater/updater.cpp b/linden/indra/win_updater/updater.cpp
index afeeb0e..9aed612 100644
--- a/linden/indra/win_updater/updater.cpp
+++ b/linden/indra/win_updater/updater.cpp
@@ -350,6 +350,16 @@ WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nSho
350 // Parse the command line arguments 350 // Parse the command line arguments
351 // 351 //
352 int parse_args_result = parse_args(argc, argv); 352 int parse_args_result = parse_args(argc, argv);
353 WCHAR window_title[2048];
354 if (gProductName)
355 {
356 mbstowcs(window_title, gProductName, 2048);
357 wcscat(window_title, L" Updater"); /* Flawfinder: ignore */
358 }
359 else
360 {
361 mbstowcs(window_title, "Imprudence Updater", 2048);
362 }
353 363
354 WNDCLASSEX wndclassex = { 0 }; 364 WNDCLASSEX wndclassex = { 0 };
355 DEVMODE dev_mode = { 0 }; 365 DEVMODE dev_mode = { 0 };
@@ -429,11 +439,11 @@ WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nSho
429 if (gTotalBytesRead < (1024 * 1024) && ! cancelled) 439 if (gTotalBytesRead < (1024 * 1024) && ! cancelled)
430 { 440 {
431 MessageBox(gWindow, 441 MessageBox(gWindow,
432 L"The Second Life auto-update has failed.\n" 442 L"The Imprudence auto-update has failed.\n"
433 L"The problem may be caused by other software installed \n" 443 L"The problem may be caused by other software installed \n"
434 L"on your computer, such as a firewall.\n" 444 L"on your computer, such as a firewall.\n"
435 L"Please visit http://secondlife.com/download/ \n" 445 L"Please visit http://imprudenceviewer.org/download/ \n"
436 L"to download the latest version of Second Life.\n", 446 L"to download the latest version of Imprudence.\n",
437 NULL, MB_OK); 447 NULL, MB_OK);
438 return 1; 448 return 1;
439 } 449 }
@@ -447,7 +457,7 @@ WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nSho
447 if (!success) 457 if (!success)
448 { 458 {
449 MessageBox(gWindow, 459 MessageBox(gWindow,
450 L"Second Life download failed.\n" 460 L"Imprudence download failed.\n"
451 L"Please try again later.", 461 L"Please try again later.",
452 NULL, MB_OK); 462 NULL, MB_OK);
453 return 1; 463 return 1;