Mercurial > MadButterfly
diff src/shape_rect.c @ 822:586e50f82c1f
Unify coding style tag for emacs and vim.
author | Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com> |
---|---|
date | Tue, 14 Sep 2010 01:08:39 +0800 |
parents | 16116d84bc5e |
children | 9a7ac4487849 |
line wrap: on
line diff
--- a/src/shape_rect.c Tue Sep 14 00:25:44 2010 +0800 +++ b/src/shape_rect.c Tue Sep 14 01:08:39 2010 +0800 @@ -1,3 +1,5 @@ +// -*- indent-tabs-mode: t; tab-width: 8; c-basic-offset: 4; -*- +// vim: sw=4:ts=8:sts=4 #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -77,21 +79,21 @@ poses[1][1] = y; poses[2][0] = x + w; poses[2][1] = y + ry; - + poses[3][0] = x + w; poses[3][1] = y + h - ry; poses[4][0] = x + w; poses[4][1] = y + h; poses[5][0] = x + w - rx; poses[5][1] = y + h; - + poses[6][0] = x + rx; poses[6][1] = y + h; poses[7][0] = x; poses[7][1] = y + h; poses[8][0] = x; poses[8][1] = y + h - ry; - + poses[9][0] = x; poses[9][1] = y + ry; poses[10][0] = x;