diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-11-20 20:35:54 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-11-20 20:35:54 +0100 |
commit | 60516dd77c6b32379fe4103ace3879ee71a5cda4 (patch) | |
tree | 0aa4ab78c4ff06a5784c0bbdf5fa08a42e5b3175 /plugingui/listboxbasic.cc | |
parent | 299f6ef8499bb3ee4ada5d63dc71091fddcb39c6 (diff) |
Missed a couple of NULL conversions.
Diffstat (limited to 'plugingui/listboxbasic.cc')
-rw-r--r-- | plugingui/listboxbasic.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugingui/listboxbasic.cc b/plugingui/listboxbasic.cc index d1002b6..10d6c66 100644 --- a/plugingui/listboxbasic.cc +++ b/plugingui/listboxbasic.cc @@ -141,7 +141,7 @@ void ListBoxBasic::clearSelectedValue() void ListBoxBasic::onScrollBarValueChange(int value) { - repaintEvent(NULL); + repaintEvent(nullptr); } void ListBoxBasic::repaintEvent(RepaintEvent* repaintEvent) @@ -153,7 +153,7 @@ void ListBoxBasic::repaintEvent(RepaintEvent* repaintEvent) int w = width(); int h = height(); - if(w == 0 || h == 0) + if((w == 0) || (h == 0)) { return; } |