We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eed82ac commit 891e2a7Copy full SHA for 891e2a7
src/main.cpp
@@ -6,8 +6,6 @@
6
* PURPOSE: MTA diagnostic tool
7
* DEVELOPERS: Matthew "Towncivilian" Wolfe <[email protected]>
8
*
9
-*
10
11
* Multi Theft Auto is available from http://www.multitheftauto.com/
12
13
*****************************************************************************/
@@ -27,7 +25,8 @@ int main()
27
25
try
28
26
{
29
std::cout << "Do you want MTADiag to auto-fix your installation? By entering 'y' you allow us to make system changes." << std::endl;
30
- if (auto c = std::getchar(); c == 'y' || c == 'Y')
+ auto c = std::getchar();
+ if (c == 'y' || c == 'Y')
31
32
std::cout << "Alright! Starting now..." << std::endl;
33
0 commit comments