Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 #include <functional> | 1 #include <functional> |
2 #include <memory> | 2 #include <memory> |
3 #include <sstream> | 3 #include <sstream> |
4 | 4 |
5 #include <Windows.h> | 5 #include <Windows.h> |
6 | 6 |
7 #include <AdblockPlus/FileSystem.h> | 7 #include <AdblockPlus/FileSystem.h> |
8 #include <AdblockPlus/WebRequest.h> | 8 #include <AdblockPlus/WebRequest.h> |
9 | 9 |
10 #include "../shared/AutoHandle.h" | 10 #include "../shared/AutoHandle.h" |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
131 UpdateInstallDialog dialog; | 131 UpdateInstallDialog dialog; |
132 bool shouldInstall = dialog.Show(); | 132 bool shouldInstall = dialog.Show(); |
133 if (shouldInstall) | 133 if (shouldInstall) |
134 { | 134 { |
135 if (!InstallUpdate(tempFile)) | 135 if (!InstallUpdate(tempFile)) |
136 { | 136 { |
137 DebugLastError("Failed to install update"); | 137 DebugLastError("Failed to install update"); |
138 Dictionary* dictionary = Dictionary::GetInstance(); | 138 Dictionary* dictionary = Dictionary::GetInstance(); |
139 MessageBoxW( | 139 MessageBoxW( |
140 0, dictionary->Lookup("updater", "install-error-text").c_str(), | 140 0, dictionary->Lookup("updater", "install-error-text").c_str(), |
141 dictionary->Lookup("updater", "install-error-title").c_str(), MB_OK); | 141 dictionary->Lookup("updater", "install-error-title").c_str(), |
Wladimir Palant
2013/08/01 09:58:24
Add MB_ICONEXCLAMATION flag?
Felix Dahlke
2013/08/02 10:48:01
Done.
| |
142 MB_OK | MB_ICONEXCLAMATION); | |
142 } | 143 } |
143 } | 144 } |
144 } | 145 } |
LEFT | RIGHT |