diff options
author | Pavel Shlyak <[email protected]> | 2018-12-19 19:48:52 +0300 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-12-21 19:21:22 +0100 |
commit | 49f81fbed8185a69d49f48a981bb80b7b21919fc (patch) | |
tree | 723605b6d727daec0757aeb091f4c72e84fdc7de /src/unit.c | |
parent | d0a089f1d26438f666bed293866751efaa568531 (diff) | |
download | mate-calc-49f81fbed8185a69d49f48a981bb80b7b21919fc.tar.bz2 mate-calc-49f81fbed8185a69d49f48a981bb80b7b21919fc.tar.xz |
Fix typo
Check https://github.com/mate-desktop/mate-calc/issues/69 for more details
Diffstat (limited to 'src/unit.c')
-rw-r--r-- | src/unit.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -141,7 +141,7 @@ unit_convert_from(Unit *unit, const MPNumber *x, MPNumber *z) { g_return_val_if_fail(unit != NULL, FALSE); g_return_val_if_fail(x != NULL, FALSE); - g_return_val_if_fail(x != NULL, FALSE); + g_return_val_if_fail(z != NULL, FALSE); if (unit->priv->from_function) return solve_function(unit->priv->from_function, x, z); |