1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-26 16:32:30 +01:00

remove unused macros defining corner positions

As pointed by gcc, the 4 constant the define the corner positions are not
used anywhere in the code, and it looks like it has always been like this.
As it is a cost for maintainability, get rid of them.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
Christophe CURIS
2014-12-08 22:42:35 +01:00
committed by Carlos R. Mafra
parent 1d0f02f5ca
commit 723f217355
2 changed files with 0 additions and 10 deletions

View File

@@ -72,11 +72,6 @@ typedef struct _WBalloon {
#define LEFT 0
#define RIGHT 2
#define TLEFT (TOP|LEFT)
#define TRIGHT (TOP|RIGHT)
#define BLEFT (BOTTOM|LEFT)
#define BRIGHT (BOTTOM|RIGHT)
static int countLines(const char *text)
{
const char *p = text;