summaryrefslogtreecommitdiff
path: root/string_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'string_utils.c')
-rw-r--r--string_utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/string_utils.c b/string_utils.c
index 95c643e..363b865 100644
--- a/string_utils.c
+++ b/string_utils.c
@@ -40,7 +40,7 @@ gboolean String_is_it_numeric(char *parameter)
void String_Parameter_To_Text(float Float_To_Convert,int Int_To_Convert, int significant_digits,
- char *start_string,char *units,char *LCD_string,int show_plus_sign)
+ char *start_string,char *units,char *LCD_string,int show_plus_sign)
{
// FIXME - crappy string func
char out_val[LCD_col_width+1];
@@ -64,7 +64,7 @@ void String_Parameter_To_Text(float Float_To_Convert,int Int_To_Convert, int sig
/* if significant_digits is zero, used the supplied integer rather than the floating number */
if (!significant_digits) {
- sprintf(out_val, "%d", (int) Float_To_Convert);
+ sprintf(out_val, "%d", (int) Float_To_Convert);
strcat(LCD_string,out_val);
} else {
Float_To_Text(remote_digits_after_decimal,Float_To_Convert,floating_val);