aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/win_updater
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/win_updater')
-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 3937351..4a50731 100644
--- a/linden/indra/win_updater/updater.cpp
+++ b/linden/indra/win_updater/updater.cpp
@@ -368,6 +368,16 @@ WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nSho
368 // Parse the command line arguments 368 // Parse the command line arguments
369 // 369 //
370 int parse_args_result = parse_args(argc, argv); 370 int parse_args_result = parse_args(argc, argv);
371 WCHAR window_title[2048];
372 if (gProductName)
373 {
374 mbstowcs(window_title, gProductName, 2048);
375 wcscat(window_title, L" Updater"); /* Flawfinder: ignore */
376 }
377 else
378 {
379 mbstowcs(window_title, "Imprudence Updater", 2048);
380 }
371 381
372 WNDCLASSEX wndclassex = { 0 }; 382 WNDCLASSEX wndclassex = { 0 };
373 //DEVMODE dev_mode = { 0 }; 383 //DEVMODE dev_mode = { 0 };
@@ -454,11 +464,11 @@ WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nSho
454 if (gTotalBytesRead < (1024 * 1024) && ! cancelled) 464 if (gTotalBytesRead < (1024 * 1024) && ! cancelled)
455 { 465 {
456 MessageBox(gWindow, 466 MessageBox(gWindow,
457 L"The Second Life auto-update has failed.\n" 467 L"The Imprudence auto-update has failed.\n"
458 L"The problem may be caused by other software installed \n" 468 L"The problem may be caused by other software installed \n"
459 L"on your computer, such as a firewall.\n" 469 L"on your computer, such as a firewall.\n"
460 L"Please visit http://secondlife.com/download/ \n" 470 L"Please visit http://imprudenceviewer.org/download/ \n"
461 L"to download the latest version of Second Life.\n", 471 L"to download the latest version of Imprudence.\n",
462 NULL, MB_OK); 472 NULL, MB_OK);
463 return 1; 473 return 1;
464 } 474 }
@@ -472,7 +482,7 @@ WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nSho
472 if (!success) 482 if (!success)
473 { 483 {
474 MessageBox(gWindow, 484 MessageBox(gWindow,
475 L"Second Life download failed.\n" 485 L"Imprudence download failed.\n"
476 L"Please try again later.", 486 L"Please try again later.",
477 NULL, MB_OK); 487 NULL, MB_OK);
478 return 1; 488 return 1;