summaryrefslogtreecommitdiff
path: root/source/ui_addressbook.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2007-12-02 18:33:17 +0000
committerAndrey Nazarov <skuller@skuller.net>2007-12-02 18:33:17 +0000
commit54124502cfb00c497ed24cbc8a9afefff1ba1b3a (patch)
tree981e7fcfbea28b5e1f9d913e56752bbf5750b89c /source/ui_addressbook.c
parent93bdbd9e43c4616d2fa647374bc7d43fa5cc0220 (diff)
Implemented UI scaling, added ui_scale variable.
Draw_ClipRect now operates correctly on scaled coordinates.
Diffstat (limited to 'source/ui_addressbook.c')
-rw-r--r--source/ui_addressbook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/ui_addressbook.c b/source/ui_addressbook.c
index 653537b..4d67e2f 100644
--- a/source/ui_addressbook.c
+++ b/source/ui_addressbook.c
@@ -73,7 +73,7 @@ static void AddressBook_MenuInit( void ) {
m_addressBook.fields[i].generic.type = MTYPE_FIELD;
m_addressBook.fields[i].generic.name = NULL;
- m_addressBook.fields[i].generic.x = ( uis.glconfig.vidWidth - 30 * SMALLCHAR_WIDTH ) / 2 - RCOLUMN_OFFSET;
+ m_addressBook.fields[i].generic.x = ( uis.width - 30 * SMALLCHAR_WIDTH ) / 2 - RCOLUMN_OFFSET;
m_addressBook.fields[i].generic.y = y;
y += MENU_SPACING;