diff options
author | Perberos <[email protected]> | 2012-07-31 21:05:06 -0300 |
---|---|---|
committer | Perberos <[email protected]> | 2012-07-31 21:05:06 -0300 |
commit | 7066f9a921a6695ea9c8e2dae2c6fd230add6baa (patch) | |
tree | efcbc3f84901908b0965cc6f535f01836cee7c1a /src/mp-equation.c | |
parent | 88ab1796d36b39f08d9cd6156fdd5b5d6df19dd1 (diff) | |
download | mate-calc-7066f9a921a6695ea9c8e2dae2c6fd230add6baa.tar.bz2 mate-calc-7066f9a921a6695ea9c8e2dae2c6fd230add6baa.tar.xz |
fixing address issue of fsf
Diffstat (limited to 'src/mp-equation.c')
-rw-r--r-- | src/mp-equation.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mp-equation.c b/src/mp-equation.c index 34f698b..cba203f 100644 --- a/src/mp-equation.c +++ b/src/mp-equation.c @@ -13,8 +13,8 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301, USA. */ #include <ctype.h> @@ -250,7 +250,7 @@ do_convert(const char *units[][2], const MPNumber *x, const char *x_units, const { int x_index, z_index; MPNumber x_factor, z_factor; - + for (x_index = 0; units[x_index][0] != NULL && strcmp(units[x_index][0], x_units) != 0; x_index++); if (units[x_index][0] == NULL) return 0; @@ -375,7 +375,7 @@ convert(MPEquationParserState *state, const MPNumber *x, const char *x_units, co {"g", "0.001"}, {NULL, NULL} }; - + const char *time_units[][2] = { {"year", "31557600"}, {"years", "31557600"}, @@ -406,7 +406,7 @@ convert(MPEquationParserState *state, const MPNumber *x, const char *x_units, co if (state->options->convert) return state->options->convert(x, x_units, z_units, z, state->options->callback_data); - + return 0; } |