diff options
| author | Michael <michael@eowyn.net> | 2020-12-28 07:45:24 (GMT) |
|---|---|---|
| committer | Michael <michael@eowyn.net> | 2020-12-28 07:45:24 (GMT) |
| commit | 1a6de3326fc224ef58b814856659940607d15dc5 (patch) | |
| tree | 55f0802d93ccee0ed6477dc596106c2aea88c6e1 | |
| parent | b4fb8897ac97e5ee6299842dac0384ce585743bb (diff) | |
Add source code license and link to github to system app
| -rw-r--r-- | src/displayapp/screens/SystemInfo.cpp | 9 | ||||
| -rw-r--r-- | src/displayapp/screens/SystemInfo.h | 2 |
2 files changed, 9 insertions, 2 deletions
diff --git a/src/displayapp/screens/SystemInfo.cpp b/src/displayapp/screens/SystemInfo.cpp index d821ac7..4fd96a8 100644 --- a/src/displayapp/screens/SystemInfo.cpp +++ b/src/displayapp/screens/SystemInfo.cpp @@ -112,6 +112,13 @@ std::unique_ptr<Screen> SystemInfo::CreateScreen2() { } std::unique_ptr<Screen> SystemInfo::CreateScreen3() { - strncpy(t3, "Hello from\nthe developer!", 27); + sprintf(t3, "Hello from\nthe developer!\n" + "Software Licensed\n" + "under the terms of\n" + "the GNU General\n" + "Public License v3\n" + "Source code:\n" + "https://github.com/\n" + " JF002/Pinetime"); return std::unique_ptr<Screen>(new Screens::Label(app, t3)); } diff --git a/src/displayapp/screens/SystemInfo.h b/src/displayapp/screens/SystemInfo.h index a71bacc..75268c7 100644 --- a/src/displayapp/screens/SystemInfo.h +++ b/src/displayapp/screens/SystemInfo.h @@ -43,7 +43,7 @@ namespace Pinetime { char t1[200]; char t2[200]; - char t3[30]; + char t3[200]; ScreenList<3> screens; std::unique_ptr<Screen> CreateScreen1(); |
