Skip to content

Commit b54e873

Browse files
committed
use uppercase for some interger
1 parent e56d1ed commit b54e873

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

tools/DEV7Launcher/DEV7Launcher.cpp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#define DEV7_MUTEX_LAUNCH "/tmp/DEV7_INSTANCE_MUTEX"
1919
#endif
2020

21+
// Namespaces
2122
namespace fs = std::filesystem;
2223

2324
bool fileExists(const std::string& filename) {
@@ -69,7 +70,7 @@ void launchCommand(const std::string& command) {
6970
std::string wineCommand = "wine " + command;
7071
int result = system(wineCommand.c_str());
7172
#endif
72-
int sleepcmd = system(SLEEP_COMMAND);
73+
int sleepCmd = system(SLEEP_COMMAND);
7374
}
7475

7576
void modifyMDOIni() {
@@ -139,9 +140,9 @@ void modifyAdibou3Ini() {
139140
system("notepad Adibou3.ini");
140141
#else
141142
if (!fs::exists("Adibou3.ini")) {
142-
int move_adibou3 = system("mv ADIBOU3.INI Adibou3.ini");
143+
int moveAdibou3 = system("mv ADIBOU3.INI Adibou3.ini");
143144
}
144-
int nano_adibou3 = system("nano Adibou3.ini");
145+
int nanoAdibou3 = system("nano Adibou3.ini");
145146
#endif
146147
}
147148

@@ -157,10 +158,10 @@ void modifyAdi5Ini() {
157158
}
158159

159160
#ifdef _WIN32
160-
int adi5ini = system("notepad Data/ADI5.ini");
161+
int adi5Ini = system("notepad Data/ADI5.ini");
161162
#else
162163
std::string modifyAdi5Ini = "nano Data/ADI5.ini";
163-
int adi5ini = system(modifyAdi5Ini.c_str());
164+
int adi5Ini = system(modifyAdi5Ini.c_str());
164165
#endif
165166
}
166167

0 commit comments

Comments
 (0)