X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=mware%2Fformatwr.c;h=8f30f22b4e911e3fc5cbd532f3ed78a747b0417a;hb=02a6da7d7d4f37a602a23f7950d668f3de8393e3;hp=fd40deef20896889a705a1ad66b0a84298141be5;hpb=277b540c0764dd376dcf583acdc97a2b2fd3d8e6;p=bertos.git diff --git a/mware/formatwr.c b/mware/formatwr.c index fd40deef..8f30f22b 100755 --- a/mware/formatwr.c +++ b/mware/formatwr.c @@ -53,6 +53,12 @@ /*#* *#* $Log$ + *#* Revision 1.10 2004/10/26 09:01:35 bernie + *#* Fix spacing. + *#* + *#* Revision 1.9 2004/09/14 21:06:23 bernie + *#* Spelling fix. + *#* *#* Revision 1.8 2004/08/25 14:12:09 rasky *#* Aggiornato il comment block dei log RCS *#* @@ -83,7 +89,7 @@ #include "formatwr.h" #include /* progmem macros */ #include /* CONFIG_ macros */ -#include /* ASSERT */ +#include /* ASSERT */ #ifndef CONFIG_PRINTF_N_FORMATTER /*! Enable arcane %n formatter */ @@ -111,7 +117,7 @@ #else /* * Conservative estimate. Should be (probably) 12 (which is the size necessary - * to represent (2^32-1) in octal plus the sign bit + * to represent (2^32-1) in octal plus the sign bit. */ #define FRMWRI_BUFSIZE 16 #endif @@ -572,9 +578,9 @@ NEXT_FLAG: ulong = flags.h_modifier ? (unsigned long)(unsigned short) va_arg(ap, int) : (unsigned long)va_arg(ap, int); - flags.div_factor = + flags.div_factor = #if CONFIG_PRINTF_OCTAL_FORMATTER - (format_flag == 'o') ? DIV_OCT : + (format_flag == 'o') ? DIV_OCT : #endif (format_flag == 'u') ? DIV_DEC : DIV_HEX; flags.plus_space_flag = PSF_NONE;