[hackers] [dmenu] removed unnecessary defines || Connor Lane Smith

From: <hg_AT_suckless.org>
Date: Wed, 17 Nov 2010 04:51:26 +0000 (UTC)

changeset: 379:379813a051f0
tag: tip
user: Connor Lane Smith <cls_AT_lubutu.com>
date: Wed Nov 17 04:51:30 2010 +0000
files: draw.c
description:
removed unnecessary defines

diff -r 17447c90c57e -r 379813a051f0 draw.c
--- a/draw.c Wed Nov 17 04:33:34 2010 +0000
+++ b/draw.c Wed Nov 17 04:51:30 2010 +0000
@@ -9,8 +9,6 @@
 
 #define MAX(a, b) ((a) > (b) ? (a) : (b))
 #define MIN(a, b) ((a) < (b) ? (a) : (b))
-#define FG(dc, col) ((col)[(dc)->invert ? ColBG : ColFG])
-#define BG(dc, col) ((col)[(dc)->invert ? ColFG : ColBG])
 #define DEFFONT "fixed"
 
 static Bool loadfont(DC *dc, const char *fontstr);
Received on Wed Nov 17 2010 - 05:51:26 CET

This archive was generated by hypermail 2.2.0 : Wed Nov 17 2010 - 06:00:07 CET