]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/entry.h
Use nullptr instead of 0 for pointers
[libs/gltk.git] / source / entry.h
index 871024da89af32b33c4f8ae1864370a817f488e7..66b3327d70c29b3d7200d91ca0d9c898b3ebec6e 100644 (file)
@@ -45,8 +45,8 @@ private:
        unsigned edit_pos = 0;
        unsigned first_row = 0;
        unsigned visible_rows = 1;
-       const Part *text_part = 0;
-       VSlider *slider = 0;
+       const Part *text_part = nullptr;
+       VSlider *slider = nullptr;
        bool got_key_press = false;
        bool cursor_blink = true;
        bool selection_active = false;