summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@avtech.domain.avtechpulse.com>1999-12-31 19:00:42 -0500
committerroot <root@avtech.domain.avtechpulse.com>1999-12-31 19:00:42 -0500
commit1d11fc9a26611ac5af7b46241125d10f2b79c2cf (patch)
tree898f5d39ad340c5e2bfb5ec8cef59c91786f1d79
parent8288a2a8515633f48d1ca13e42b76309a8ed53c4 (diff)
fix last commit
-rw-r--r--string_utils.c2
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);
}