summaryrefslogtreecommitdiff
path: root/src/d/d_cursor_mng.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/d/d_cursor_mng.cpp')
-rw-r--r--src/d/d_cursor_mng.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/d_cursor_mng.cpp b/src/d/d_cursor_mng.cpp
index 223d01bffc..d5586091d1 100644
--- a/src/d/d_cursor_mng.cpp
+++ b/src/d/d_cursor_mng.cpp
@@ -315,7 +315,7 @@ void dCsr_mng_c::bloObj_c::calcPaneObjNum(J2DPane* i_pane) {
}
JSUTreeIterator<J2DPane> iter = i_pane->getPaneTree()->getFirstChild();
- while (iter != NULL) {
+ while (iter) {
calcPaneObjNum(*iter);
++iter;
}
@@ -331,7 +331,7 @@ void dCsr_mng_c::bloObj_c::createPaneObj(paneObj_c** i_panes, J2DPane* i_pane) {
}
JSUTreeIterator<J2DPane> iter = i_pane->getPaneTree()->getFirstChild();
- while (iter != NULL) {
+ while (iter) {
createPaneObj(i_panes, *iter);
++iter;
}