comparison finch/libgnt/gntbox.c @ 31086:a8cc50c2279f

Remove trailing whitespace
author Richard Laager <rlaager@wiktel.com>
date Tue, 04 Jan 2011 06:55:30 +0000
parents b3c4f33643a6
children
comparison
equal deleted inserted replaced
31085:44f53d3fc54f 31086:a8cc50c2279f
62 get_title_thingies(GntBox *box, char *title, int *p, int *r) 62 get_title_thingies(GntBox *box, char *title, int *p, int *r)
63 { 63 {
64 GntWidget *widget = GNT_WIDGET(box); 64 GntWidget *widget = GNT_WIDGET(box);
65 int len; 65 int len;
66 char *end = (char*)gnt_util_onscreen_width_to_pointer(title, widget->priv.width - 4, &len); 66 char *end = (char*)gnt_util_onscreen_width_to_pointer(title, widget->priv.width - 4, &len);
67 67
68 if (p) 68 if (p)
69 *p = (widget->priv.width - len) / 2; 69 *p = (widget->priv.width - len) / 2;
70 if (r) 70 if (r)
71 *r = (widget->priv.width + len) / 2; 71 *r = (widget->priv.width + len) / 2;
72 *end = '\0'; 72 *end = '\0';