We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b4fb889 + 1a6de33 commit 1ca0c52Copy full SHA for 1ca0c52
2 files changed
src/displayapp/screens/SystemInfo.cpp
@@ -112,6 +112,13 @@ std::unique_ptr<Screen> SystemInfo::CreateScreen2() {
112
}
113
114
std::unique_ptr<Screen> SystemInfo::CreateScreen3() {
115
- strncpy(t3, "Hello from\nthe developer!", 27);
+ sprintf(t3, "Hello from\nthe developer!\n"
116
+ "Software Licensed\n"
117
+ "under the terms of\n"
118
+ "the GNU General\n"
119
+ "Public License v3\n"
120
+ "Source code:\n"
121
+ "https://github.com/\n"
122
+ " JF002/Pinetime");
123
return std::unique_ptr<Screen>(new Screens::Label(app, t3));
124
src/displayapp/screens/SystemInfo.h
@@ -43,7 +43,7 @@ namespace Pinetime {
43
44
char t1[200];
45
char t2[200];
46
- char t3[30];
+ char t3[200];
47
48
ScreenList<3> screens;
49
std::unique_ptr<Screen> CreateScreen1();
0 commit comments