Skip to content

Commit 49f81fb

Browse files
shlyakpavelraveit65
authored andcommitted
Fix typo
Check #69 for more details
1 parent d0a089f commit 49f81fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ unit_convert_from(Unit *unit, const MPNumber *x, MPNumber *z)
141141
{
142142
g_return_val_if_fail(unit != NULL, FALSE);
143143
g_return_val_if_fail(x != NULL, FALSE);
144-
g_return_val_if_fail(x != NULL, FALSE);
144+
g_return_val_if_fail(z != NULL, FALSE);
145145

146146
if (unit->priv->from_function)
147147
return solve_function(unit->priv->from_function, x, z);

0 commit comments

Comments
 (0)