Skip to content

Commit

Permalink
Set default copyright year to 69 if provided value is 0 in AboutWindow
Browse files Browse the repository at this point in the history
  • Loading branch information
lainsce committed Sep 7, 2024
1 parent 4064b57 commit 5b91f44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Widgets/AboutWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ public class He.AboutWindow : He.Window {
string? more_info_url,
string[]? translators,
string[]? developers,
int? copyright_year,
int copyright_year,
Licenses? license,
He.Colors? color) {
this.parent = parent;
Expand All @@ -392,7 +392,7 @@ public class He.AboutWindow : He.Window {
this.more_info_url = more_info_url;
this.translator_names = translators;
this.developer_names = developers;
this.copyright_year = copyright_year;
this.copyright_year = copyright_year != 0 ? copyright_year : 69; // Haha.
this.license = license;
this.color = color;
}
Expand Down

0 comments on commit 5b91f44

Please sign in to comment.