Skip to content

Commit

Permalink
Rewrite to silent clang warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarod42 committed Feb 29, 2024
1 parent 9ecc281 commit 1ef95a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/graphical/menu/dialogs/dialoglicense.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ namespace
//--------------------------------------------------------------------------
std::string getCompileTimeYear()
{
// __DATE__ format is Mmm dd yyyy
return __DATE__ + 7;
// __DATE__ format is "Mmm dd yyyy"
return &__DATE__[7];
}
} // namespace

Expand Down

0 comments on commit 1ef95a0

Please sign in to comment.