From 31b5b709f6e2c0355ad5730bb68e971c41c65846 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 29 Jan 2008 08:56:23 +0100 Subject: [PATCH] remove unused function --- common/draw.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/common/draw.h b/common/draw.h index 50857d21..caec7056 100644 --- a/common/draw.h +++ b/common/draw.h @@ -55,16 +55,6 @@ DO_SLIST(Area, area, p_delete); #define AREA_RIGHT(a) ((a).x + (a).width) #define AREA_BOTTOM(a) ((a).y + (a).height) -/** Check if coordinates matches given area */ -static inline Bool -area_match_coords(Area geometry, int x, int y) -{ - return (x >= geometry.x - && y >= geometry.y - && x < geometry.x + geometry.width - && y < geometry.y + geometry.height); -} - static inline Bool area_intersect_area(Area a, Area b) { -- 2.11.4.GIT