summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérémie Courrèges-Anglas <jca@wxcvbn.org>2013-05-26 18:29:05 +0200
committerJérémie Courrèges-Anglas <jca@wxcvbn.org>2013-05-26 18:29:05 +0200
commitdbe13fafc3fab58e4e9d249e46711d600345a6fd (patch)
treefd40dd79e798dada214fc8a2782835a7ad37b3ce
parentaaa86e3d7824bf6b255a5f45ce9bae2a8de26e59 (diff)
downloadratpoison-dbe13fafc3fab58e4e9d249e46711d600345a6fd.zip
draw_string: document variables
-rw-r--r--src/bar.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bar.c b/src/bar.c
index c9fd0f2..ca01c9b 100644
--- a/src/bar.c
+++ b/src/bar.c
@@ -333,10 +333,10 @@ draw_partial_string (rp_screen *s, char *msg, int len,
static void
draw_string (rp_screen *s, char *msg, int mark_start, int mark_end)
{
- int i;
- int x_offset, y_offset;
- int start;
- int style = STYLE_NORMAL, next_style = STYLE_NORMAL, update = 0;
+ int i, start;
+ int x_offset, y_offset; /* Base coordinates where to print. */
+ int update = 0; /* Do we have something to print? */
+ int style = STYLE_NORMAL, next_style = STYLE_NORMAL;
int msg_len, part_len;
start = 0;