Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '7zip/FileManager/Resource/ProgressDialog2/ProgressDialog.h')
-rwxr-xr-x7zip/FileManager/Resource/ProgressDialog2/ProgressDialog.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/7zip/FileManager/Resource/ProgressDialog2/ProgressDialog.h b/7zip/FileManager/Resource/ProgressDialog2/ProgressDialog.h
index 713e0f29..1803ce8b 100755
--- a/7zip/FileManager/Resource/ProgressDialog2/ProgressDialog.h
+++ b/7zip/FileManager/Resource/ProgressDialog2/ProgressDialog.h
@@ -21,7 +21,7 @@ class CProgressSynch
UString TitleFileName;
UString CurrentFileName;
public:
- CProgressSynch(): _stopped(false), _paused(false), _total(1), _completed(0) {}
+ CProgressSynch(): _stopped(false), _paused(false), _total((UInt64)(Int64)-1), _completed(0) {}
bool GetStopped()
{
@@ -168,10 +168,10 @@ public:
void WaitCreating() { _dialogCreatedEvent.Lock(); }
- INT_PTR Create(const UString &title, HWND aWndParent = 0)
+ INT_PTR Create(const UString &title, HWND wndParent = 0)
{
_title = title;
- return CModalDialog::Create(MAKEINTRESOURCE(IDD_DIALOG_PROGRESS), aWndParent);
+ return CModalDialog::Create(IDD_DIALOG_PROGRESS, wndParent);
}
static const UINT kCloseMessage;