changeset 284:5a467b40800a

Cosmetics.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 22 Feb 2016 13:43:28 +0200
parents 2b76cc316205
children e1414cf8fef8
files th_string.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/th_string.c	Mon Feb 22 13:15:57 2016 +0200
+++ b/th_string.c	Mon Feb 22 13:43:28 2016 +0200
@@ -135,6 +135,7 @@
     return 0;
 }
 
+
 static int th_printf_vput_int(th_printf_ctx *ctx, th_printf_vputch vputch,
     int pval, const int radix, const char padMode, const char padChar,
     const int width, const BOOL unsig, const BOOL upcase, const BOOL sign)
@@ -254,7 +255,7 @@
 
             fmt++;
 
-            // Check sign
+            // Check for field sign
             if (*fmt == '+')
             {
                 sign = TRUE;
@@ -277,7 +278,7 @@
                     return -102;
             }
 
-            // Get width
+            // Get field width
             while (th_isdigit(*fmt))
                 width = width * 10 + (*fmt++ - '0');