[loc] update translation base to v1.0.12

* Also change UM_ISO_ constants to the more generic UM_PROGRESS_
This commit is contained in:
Pete Batard 2014-05-19 23:25:00 +01:00
parent 420bb1d0d8
commit 9df63b3b2a
12 changed files with 55 additions and 43 deletions

View file

@ -263,7 +263,7 @@ DWORD DownloadFile(const char* url, const char* file, HWND hProgressDialog)
SetWindowLong(hProgressBar, GWL_STYLE, progress_style & (~PBS_MARQUEE));
SendMessage(hProgressBar, PBM_SETPOS, 0, 0);
}
SendMessage(hProgressDialog, UM_ISO_INIT, 0, 0);
SendMessage(hProgressDialog, UM_PROGRESS_INIT, 0, 0);
}
for (last_slash = safe_strlen(file); last_slash != 0; last_slash--) {
@ -369,7 +369,7 @@ DWORD DownloadFile(const char* url, const char* file, HWND hProgressDialog)
out:
if (hProgressDialog != NULL)
SendMessage(hProgressDialog, UM_ISO_EXIT, (WPARAM)r, 0);
SendMessage(hProgressDialog, UM_PROGRESS_EXIT, (WPARAM)r, 0);
if (fd != NULL) fclose(fd);
if (!r) {
_unlink(file);