Skip to content

Commit 8048c63

Browse files
committed
Remove unneeded < check
1 parent f524da5 commit 8048c63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/artboard.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ void Artboard::addNestedArtboard(NestedArtboard* artboard) {
279279
}
280280

281281
Core* Artboard::resolve(uint32_t id) const {
282-
if (id < 0 || id >= static_cast<int>(m_Objects.size())) {
282+
if (id >= static_cast<int>(m_Objects.size())) {
283283
return nullptr;
284284
}
285285
return m_Objects[id];

0 commit comments

Comments
 (0)