Skip to content

Commit bf75e1b

Browse files
committed
refactor printHeader() in ModelPathDumper
1 parent 1342f1c commit bf75e1b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tools/ModelPathDumper/ModelPathDumper.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ namespace fs = std::filesystem;
1616
void printHeader() {
1717
char versionNumber[6] = "0.2.0";
1818

19-
printf("===========================");
20-
std::cout << " ModelPathDumper ver. " << versionNumber << std::endl;
21-
printf("===========================");
19+
printf("===========================\n");
20+
printf("ModelPathDumper ver. %s\n", versionNumber);
21+
printf("===========================\n");
2222
}
2323

2424
void searchAndDumpPaths(const fs::path& directory, const std::string& outputFile, int& fileCount) {
@@ -73,4 +73,4 @@ int main() {
7373
printf("Search is completed. Found %d .exo files.", exoCount);
7474
return 0;
7575

76-
} // End of namespace fs
76+
} // End of namespace fs

0 commit comments

Comments
 (0)