summaryrefslogtreecommitdiff
path: root/textscreen/txt_dropdown.c
diff options
context:
space:
mode:
authorSimon Howard2011-10-23 20:07:40 +0000
committerSimon Howard2011-10-23 20:07:40 +0000
commit379d372c65dee97d13b9a490c7c7a1a466478b7f (patch)
tree5df907dfd14c72fdfc05fc6e4cb2d4b3081db711 /textscreen/txt_dropdown.c
parent1ec21c92ed4c3f792e642524c5cd5bc30b6d7457 (diff)
parentcc87c97e4bae07238e9e1af8668944fd7805c133 (diff)
downloadchocolate-doom-379d372c65dee97d13b9a490c7c7a1a466478b7f.tar.gz
chocolate-doom-379d372c65dee97d13b9a490c7c7a1a466478b7f.tar.bz2
chocolate-doom-379d372c65dee97d13b9a490c7c7a1a466478b7f.zip
Merge from trunk.
Subversion-branch: /branches/v2-branch Subversion-revision: 2464
Diffstat (limited to 'textscreen/txt_dropdown.c')
-rw-r--r--textscreen/txt_dropdown.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/textscreen/txt_dropdown.c b/textscreen/txt_dropdown.c
index a6185a4c..efc94683 100644
--- a/textscreen/txt_dropdown.c
+++ b/textscreen/txt_dropdown.c
@@ -221,7 +221,7 @@ static void TXT_DropdownListSizeCalc(TXT_UNCAST_ARG(list))
list->widget.h = 1;
}
-static void TXT_DropdownListDrawer(TXT_UNCAST_ARG(list), int selected)
+static void TXT_DropdownListDrawer(TXT_UNCAST_ARG(list))
{
TXT_CAST_ARG(txt_dropdown_list_t, list);
unsigned int i;
@@ -229,7 +229,7 @@ static void TXT_DropdownListDrawer(TXT_UNCAST_ARG(list), int selected)
// Set bg/fg text colors.
- TXT_SetWidgetBG(list, selected);
+ TXT_SetWidgetBG(list);
TXT_FGColor(TXT_COLOR_BRIGHT_WHITE);
// Select a string to draw from the list, if the current value is