diff options
| author | Avamander <avamander@gmail.com> | 2020-10-04 11:53:11 (GMT) |
|---|---|---|
| committer | Avamander <avamander@gmail.com> | 2020-10-04 11:53:11 (GMT) |
| commit | 13da1e38f019ef8989df1423164bd080768a7e04 (patch) | |
| tree | c3109d8e779d4f0ff18cb108f010b2bd88fdd98f /src/displayapp/screens/Label.cpp | |
| parent | e4f0a95af8ce6cfb71602c5f5e437ab68dd582ec (diff) | |
Switched from NULL to nullptr
Diffstat (limited to 'src/displayapp/screens/Label.cpp')
| -rw-r--r-- | src/displayapp/screens/Label.cpp | 2 |
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); |
