X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Flibgame%2Fsystem.h;h=6df8df049d31b2ddd092d2bf9885b6116031b572;hp=5825fc53d9ed022be42e05e4483429c740e4c5a8;hb=04cfb5daeff6cbceef152fc01ad5852407c0c918;hpb=74ed6f367314f4b4f373b45f82cedd04595a2608 diff --git a/src/libgame/system.h b/src/libgame/system.h index 5825fc53..6df8df04 100644 --- a/src/libgame/system.h +++ b/src/libgame/system.h @@ -210,8 +210,8 @@ #define ALIGNED_XPOS(x,w,a) ((a) == ALIGN_CENTER ? (x) - (w) / 2 : \ (a) == ALIGN_RIGHT ? (x) - (w) : (x)) -#define ALIGNED_MENU_XPOS(p) ALIGNED_XPOS((p)->x, (p)->width, (p)->align) -#define ALIGNED_MENU_YPOS(p) ((p)->y) +#define ALIGNED_TEXT_XPOS(p) ALIGNED_XPOS((p)->x, (p)->width, (p)->align) +#define ALIGNED_TEXT_YPOS(p) ((p)->y) /* values for redraw_mask */ #define REDRAW_NONE (0)