Mercurial > pidgin.yaz
comparison finch/libgnt/gntcheckbox.c @ 28984:a18f421696dc
Fix showing umlauts etc. on non-utf8 locales.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Fri, 20 Nov 2009 21:45:44 +0000 |
parents | 8356e2f2486a |
children | a8cc50c2279f |
comparison
equal
deleted
inserted
replaced
28983:8356e2f2486a | 28984:a18f421696dc |
---|---|
49 mvwaddch(widget->window, 0, 0, '['); | 49 mvwaddch(widget->window, 0, 0, '['); |
50 mvwaddch(widget->window, 0, 1, (cb->checked ? 'X' : ' ') | (focus ? A_UNDERLINE : A_NORMAL)); | 50 mvwaddch(widget->window, 0, 1, (cb->checked ? 'X' : ' ') | (focus ? A_UNDERLINE : A_NORMAL)); |
51 mvwaddch(widget->window, 0, 2, ']'); | 51 mvwaddch(widget->window, 0, 2, ']'); |
52 | 52 |
53 wbkgdset(widget->window, '\0' | gnt_color_pair(GNT_COLOR_NORMAL)); | 53 wbkgdset(widget->window, '\0' | gnt_color_pair(GNT_COLOR_NORMAL)); |
54 mvwaddstr(widget->window, 0, 4, (GNT_BUTTON(cb)->priv->text)); | 54 mvwaddstr(widget->window, 0, 4, C_(GNT_BUTTON(cb)->priv->text)); |
55 wmove(widget->window, 0, 1); | 55 wmove(widget->window, 0, 1); |
56 | 56 |
57 GNTDEBUG; | 57 GNTDEBUG; |
58 } | 58 } |
59 | 59 |