mirror of
https://github.com/TomHarte/CLK.git
synced 2025-08-14 23:27:26 +00:00
Resolves various instances of spaces in place of tabs.
This commit is contained in:
@@ -293,7 +293,7 @@ std::string system_get(const char *command) {
|
||||
std::string result;
|
||||
while(!feof(pipe.get())) {
|
||||
std::array<char, 256> buffer;
|
||||
if (fgets(buffer.data(), buffer.size(), pipe.get()) != nullptr)
|
||||
if(fgets(buffer.data(), buffer.size(), pipe.get()) != nullptr)
|
||||
result += buffer.data();
|
||||
}
|
||||
return result;
|
||||
|
Reference in New Issue
Block a user