Skip to content

Commit

Permalink
Merge branch 'fix_to_string' into 'master'
Browse files Browse the repository at this point in the history
Fix Ptr::toString

See merge request OpenMW/openmw!4165
  • Loading branch information
Capostrophic committed Jun 9, 2024
2 parents 9087de1 + 6ba4231 commit f0019ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/openmw/mwworld/ptr.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ namespace MWWorld
{
if (mRef == nullptr)
return "null object";
std::string result = mRef->isDeleted() ? "object" : "deleted object";
std::string result = mRef->isDeleted() ? "deleted object" : "object";
result += mRef->mRef.getRefNum().toString();
result += " (";
result += mRef->getTypeDescription();
Expand Down

0 comments on commit f0019ca

Please sign in to comment.