From 67061bd9cf201f1c6e759fac43012185792ce7b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=28=C2=B4=E3=83=BB=CF=89=E3=83=BB=EF=BD=80=29?= Date: Wed, 24 Nov 2021 10:14:31 +0900 Subject: [PATCH] FIX typo --- gui/sprachen.cc | 4 ++-- utils/simstring.cc | 2 +- utils/simstring.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gui/sprachen.cc b/gui/sprachen.cc index c50758d6af..9ebea3ea41 100644 --- a/gui/sprachen.cc +++ b/gui/sprachen.cc @@ -89,7 +89,7 @@ void sprachengui_t::init_font_from_lang() p = ""; v = 1e99; } - set_large_amout(p,v); + set_large_amount(p,v); } @@ -134,7 +134,7 @@ sprachengui_t::sprachengui_t() : std::string fname = FONT_PATH_X; fname += prop_font_file_name; #if 1 - // we are onlz checking the existence of the file + // we are only checking the existence of the file num_loaded = false; if( FILE *fnt = dr_fopen(fname.c_str(), "rb") ) { num_loaded = true; diff --git a/utils/simstring.cc b/utils/simstring.cc index deec9a24d9..47784d042c 100644 --- a/utils/simstring.cc +++ b/utils/simstring.cc @@ -63,7 +63,7 @@ const char *get_large_money_string() * Set large money abbreviation, used in money_to_string and * number_to_string */ -void set_large_amout(const char *s, const double v) +void set_large_amount(const char *s, const double v) { large_number_string = s; large_number_factor = v; diff --git a/utils/simstring.h b/utils/simstring.h index 9333f92ffa..93c3e15e1b 100644 --- a/utils/simstring.h +++ b/utils/simstring.h @@ -53,7 +53,7 @@ void set_thousand_sep_exponent(int new_thousand_sep_exponent); /** * Set abbreviation and the amount by which large money amounts will be shortened */ -void set_large_amout( const char *, const double v ); +void set_large_amount( const char *, const double v ); /** * copies n lines of the source into a buffer