diff options
| author | JF002 <JF002@users.noreply.github.com> | 2021-01-02 20:14:13 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-02 20:14:13 +0000 |
| commit | 1ca0c52983a0c75c6042e716e0609f659ec899dd (patch) | |
| tree | 55f0802d93ccee0ed6477dc596106c2aea88c6e1 /src/displayapp/screens/SystemInfo.cpp | |
| parent | b4fb8897ac97e5ee6299842dac0384ce585743bb (diff) | |
| parent | 1a6de3326fc224ef58b814856659940607d15dc5 (diff) | |
Merge pull request #151 from nobodywasishere/copying-condition
Add source code license and link to github to system app
Diffstat (limited to 'src/displayapp/screens/SystemInfo.cpp')
| -rw-r--r-- | src/displayapp/screens/SystemInfo.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/displayapp/screens/SystemInfo.cpp b/src/displayapp/screens/SystemInfo.cpp index d821ac76..4fd96a82 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)); } |
