From ca8f15da73271483e9b6c0c7c7fa07079b10af70 Mon Sep 17 00:00:00 2001 From: Morgan Aldridge Date: Sat, 7 Mar 2020 11:30:06 -0500 Subject: [PATCH] Formatting: fix spacing around ++ operators --- mlclock.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mlclock.c b/mlclock.c index b5b4d4b..91cec8c 100644 --- a/mlclock.c +++ b/mlclock.c @@ -133,7 +133,7 @@ int main(int argc, char **argv) { height = logical.height; xcol.flags = DoRed|DoGreen|DoBlue; - for ( i = 0; i < 2; i ++ ) { + for ( i = 0; i < 2; i++ ) { xcol.red = Color[i][0]; xcol.green = Color[i][1]; xcol.blue = Color[i][2]; @@ -255,7 +255,7 @@ void readrc() { Mode = Near = Head = NONE; Form1 = Form2 = LocaleName = FSName = NULL; - for ( i = 0; i < 3; i ++ ) { + for ( i = 0; i < 3; i++ ) { Color[0][i] = 0; Color[1][i] = 0xffff; } @@ -319,7 +319,7 @@ void readrc() { cn = N[i].sw; break; } - i ++; + i++; } switch ( cn ) { @@ -425,8 +425,8 @@ void getRGB(char *color, int *store) { XColor rgb, hard; if ( color[0] == '#' ) { - color ++; - for ( i = 0; i < 3; i ++ ) { + color++; + for ( i = 0; i < 3; i++ ) { strncpy(tmpcolor, color, 2); sscanf(tmpcolor, "%x", store); (*store) *= 256;