We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f65691 commit bd2d887Copy full SHA for bd2d887
2 files changed
source/globals.cpp
@@ -25,6 +25,9 @@ ParsedVersion parseVersion(const std::string_view version) {
25
26
27
std::string project::modifyDateString() const {
28
+ if (modifiedDate == std::numeric_limits<decltype(modifiedDate)>::min()) {
29
+ return "???";
30
+ }
31
#if _WIN32
32
long
33
#endif
source/interface_derived.cpp
@@ -531,7 +531,7 @@ project MainFrameDerived::LoadProject(const std::filesystem::path &p_as_fs){
531
}
532
533
//get the modification date
534
- int64_t modifyDate;
+ int64_t modifyDate = std::numeric_limits<decltype(project::modifiedDate)>::min();
535
struct stat fileInfo {};
536
if (filesystem::exists(p_as_fs)) {
537
if (stat(p_as_fs.string().c_str(), &fileInfo) == 0) {
0 commit comments