diff options
Diffstat (limited to 'string_utils.c')
-rw-r--r-- | string_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/string_utils.c b/string_utils.c index 68091e5..502e2a7 100644 --- a/string_utils.c +++ b/string_utils.c @@ -130,7 +130,7 @@ void String_Parameter_To_Text(float Float_To_Convert, int significant_digits, /* -- CHECK FOR TERMINATING DECIMAL POINT -- */ int len = strlen(out_gstr->str); - if (LCD_string[len-1]=='.') { + if (out_gstr->str[len-1]=='.') { out_gstr = g_string_erase (out_gstr, len-1, 1); } |