fp-print: Just consider equal prints pointers to be equal

This commit is contained in:
Marco Trevisan (Treviño)
2026-07-12 13:16:33 +02:00
parent 7e3453e796
commit 7730146af0
+3
View File
@@ -596,6 +596,9 @@ fp_print_equal (FpPrint *self, FpPrint *other)
g_return_val_if_fail (self->type != FPI_PRINT_UNDEFINED, FALSE);
g_return_val_if_fail (other->type != FPI_PRINT_UNDEFINED, FALSE);
if (self == other)
return TRUE;
if (self->type != other->type)
return FALSE;