More windows fixes

This commit is contained in:
2016-01-23 22:44:17 -08:00
parent 9114be2a4d
commit 0819101986
3 changed files with 23 additions and 11 deletions

View File

@@ -104,9 +104,9 @@ int main(int argc, char* argv[])
printf("\n");
}
if (bytes != -1)
printf("\r%s %" PRISize " B", name.c_str(), bytes);
NOD::Printf(_S("\r%s %" PRISize " B"), name.c_str(), bytes);
else
printf("\r%s", name.c_str());
NOD::Printf(_S("\r%s"), name.c_str());
fflush(stdout);
};
@@ -157,9 +157,9 @@ int main(int argc, char* argv[])
printf("\n");
}
if (bytes != -1)
printf("\r%s %" PRISize " B", name.c_str(), bytes);
NOD::Printf(_S("\r%s %" PRISize " B"), name.c_str(), bytes);
else
printf("\r%s", name.c_str());
NOD::Printf(_S("\r%s"), name.c_str());
fflush(stdout);
};