From: Christian Heller Date: Wed, 12 Jun 2013 23:07:56 +0000 (+0200) Subject: Renamed yx type to more precisely reflect its data structure. X-Git-Tag: tce~1229 X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/do_day?a=commitdiff_plain;h=424609f82d15a3aee5987155af094fcae4bc2516;p=plomrogue Renamed yx type to more precisely reflect its data structure. --- diff --git a/windows.c b/windows.c index f6bc54e..2aa8499 100644 --- a/windows.c +++ b/windows.c @@ -4,15 +4,15 @@ #include #include "windows.h" -struct yx { +struct yx_uint16 { uint16_t y; uint16_t x; }; struct Corners { - struct yx tl; - struct yx tr; - struct yx bl; - struct yx br; }; + struct yx_uint16 tl; + struct yx_uint16 tr; + struct yx_uint16 bl; + struct yx_uint16 br; }; static void refit_pad (struct WinMeta *); static void place_window (struct WinMeta *, struct Win *);