Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 55a6ae4

Browse files
committed
libfoundation: Implement __MCErrorCopyDescription().
Returns the error message.
1 parent 2fcffa6 commit 55a6ae4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libfoundation/src/foundation-error.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ bool __MCErrorIsEqualTo(__MCError *self, __MCError *other_error)
354354

355355
bool __MCErrorCopyDescription(__MCError *self, MCStringRef& r_string)
356356
{
357-
return false;
357+
return MCStringCopy (MCErrorGetMessage (self), r_string);
358358
}
359359

360360
bool __MCErrorInitialize(void)

0 commit comments

Comments
 (0)