From 6ee694c389d0d6daf7108054d9b4b751571cad66 Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Tue, 14 Jan 2020 20:52:40 +0100 Subject: Fix typo: 'Avogadro' instead 'Avogrado' --- src/math-buttons.c | 2 +- src/mp-equation.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/math-buttons.c b/src/math-buttons.c index 7437369..4e6e6da 100644 --- a/src/math-buttons.c +++ b/src/math-buttons.c @@ -1062,7 +1062,7 @@ const_cb(GtkWidget *widget, MathButtons *buttons) { /* Tooltip for the mₚ button */ N_("Proton mass"), "mₚ", N_("1.672621898(21)×10⁻²⁷ kg") }, { /* Tooltip for the Nₐ button */ - N_("Avogrado constant"), "Nₐ", N_("6.02214086×10²³ mol⁻¹") }, + N_("Avogadro constant"), "Nₐ", N_("6.02214086×10²³ mol⁻¹") }, { NULL, NULL, NULL } }; diff --git a/src/mp-equation.c b/src/mp-equation.c index c50646e..4778298 100644 --- a/src/mp-equation.c +++ b/src/mp-equation.c @@ -66,7 +66,7 @@ get_variable(ParserState *state, const char *name, MPNumber *z) else if (strcmp(name, "mₚ") == 0) mp_set_from_string("0.000000000000000000000000001672621898", 10, z); /* proton mass */ else if (strcmp(name, "Nₐ") == 0) - mp_set_from_string("602214086000000000000000", 10, z); /* Avogrado constant */ + mp_set_from_string("602214086000000000000000", 10, z); /* Avogadro constant */ else if (state->options->get_variable) result = state->options->get_variable(name, z, state->options->callback_data); else -- cgit v1.2.1