summaryrefslogtreecommitdiff
path: root/onlineupdate/source/update/updater/progressui_win.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'onlineupdate/source/update/updater/progressui_win.cxx')
-rw-r--r--onlineupdate/source/update/updater/progressui_win.cxx11
1 files changed, 8 insertions, 3 deletions
diff --git a/onlineupdate/source/update/updater/progressui_win.cxx b/onlineupdate/source/update/updater/progressui_win.cxx
index b7ff90acbbbf..24aed2c94247 100644
--- a/onlineupdate/source/update/updater/progressui_win.cxx
+++ b/onlineupdate/source/update/updater/progressui_win.cxx
@@ -228,19 +228,24 @@ InitProgressUIStrings()
WCHAR filename[MAX_PATH];
if (!GetStringsFile(filename))
{
- return -1;
+ strcpy(sUIStrings.title, "LibreOffice Updater");
+ strcpy(sUIStrings.info, "This program is updating your LibreOffice installation.");
+ return 0;
}
if (_waccess(filename, 04))
{
- return -1;
+ strcpy(sUIStrings.title, "LibreOffice Updater");
+ strcpy(sUIStrings.info, "This program is updating your LibreOffice installation.");
+ return 0;
}
// If the updater.ini doesn't have the required strings, then we should not
// bother showing UI.
if (ReadStrings(filename, &sUIStrings) != OK)
{
- return -1;
+ strcpy(sUIStrings.title, "LibreOffice Updater");
+ strcpy(sUIStrings.info, "This program is updating your LibreOffice installation.");
}
return 0;