diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-08-30 11:39:08 -0400 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-08-30 11:39:08 -0400 |
commit | 28d2cf9fc388d375a5ee6eef4f9e4d42e0fdc41a (patch) | |
tree | 150b49ece3c844a4ef4a2be1a23594435ad2d34e /string_utils.c | |
parent | d6c71646ddc4a34293bb5cadde78a30806d8eace (diff) |
astyle fixes
Diffstat (limited to 'string_utils.c')
-rw-r--r-- | string_utils.c | 4 |
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); |