summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/Label.cpp
diff options
context:
space:
mode:
authorJF002 <JF002@users.noreply.github.com>2020-10-08 18:58:24 (GMT)
committerGitHub <noreply@github.com>2020-10-08 18:58:24 (GMT)
commit0a8d8953f73cd09844652515651d55b12ce6f2bf (patch)
tree3464df442327b60b3c7f77464f246a66c68f0d9a /src/displayapp/screens/Label.cpp
parent9d43eff43a5984dfb368445d3428560dae9269da (diff)
parente85d1ffc625c73dcbb30c783707bfb6110af6a41 (diff)
Merge pull request #80 from Avamander/patch-1
Switched from NULL to nullptr
Diffstat (limited to 'src/displayapp/screens/Label.cpp')
-rw-r--r--src/displayapp/screens/Label.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/displayapp/screens/Label.cpp b/src/displayapp/screens/Label.cpp
index 780ee88..540776c 100644
--- a/src/displayapp/screens/Label.cpp
+++ b/src/displayapp/screens/Label.cpp
@@ -4,7 +4,7 @@
using namespace Pinetime::Applications::Screens;
Label::Label(Pinetime::Applications::DisplayApp *app, const char *text) : Screen(app), text{text} {
- label = lv_label_create(lv_scr_act(), NULL);
+ label = lv_label_create(lv_scr_act(), nullptr);
lv_label_set_align(label, LV_LABEL_ALIGN_LEFT);
lv_obj_set_size(label, 240, 240);
lv_label_set_text(label, text);