summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/Label.cpp
diff options
context:
space:
mode:
authorAvamander <avamander@gmail.com>2020-10-04 11:53:11 (GMT)
committerAvamander <avamander@gmail.com>2020-10-04 11:53:11 (GMT)
commit13da1e38f019ef8989df1423164bd080768a7e04 (patch)
treec3109d8e779d4f0ff18cb108f010b2bd88fdd98f /src/displayapp/screens/Label.cpp
parente4f0a95af8ce6cfb71602c5f5e437ab68dd582ec (diff)
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);