Skip to content

Commit

Permalink
Fix return value not actually being returned
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake-Madden committed Nov 9, 2024
1 parent 959652e commit 0882c6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/label.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ namespace Wisteria::GraphItems
{
if (!IsOk())
{
wxRect();
return wxRect{};
}

if (!GetCachedBoundingBox().IsEmpty())
Expand Down

0 comments on commit 0882c6d

Please sign in to comment.