Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 420933
Collapse All | Expand All

(-)ibus-fbterm-0.9.1.orig//src/display.c (-3 / +3 lines)
Lines 212-218 static void calculate_status_win() Link Here
212
		IBusProperty *prop = ibus_prop_list_get(property_list, i);
212
		IBusProperty *prop = ibus_prop_list_get(property_list, i);
213
		if (!prop) break;
213
		if (!prop) break;
214
214
215
		w += text_width(prop->label->text);
215
		w += text_width(ibus_property_get_label(prop)->text);
216
	}
216
	}
217
217
218
	status_bar_win.x = cursor_x;
218
	status_bar_win.x = cursor_x;
Lines 238-245 static void draw_status_bar() Link Here
238
		IBusProperty *prop = ibus_prop_list_get(property_list, i);
238
		IBusProperty *prop = ibus_prop_list_get(property_list, i);
239
		if (!prop) break;
239
		if (!prop) break;
240
240
241
		draw_text(x, y, COLOR_FG, COLOR_BG, prop->label->text, strlen(prop->label->text));
241
		draw_text(x, y, COLOR_FG, COLOR_BG, ibus_property_get_label(prop)->text, strlen(ibus_property_get_label(prop)->text));
242
		x += FW(text_width(prop->label->text));
242
		x += FW(text_width(ibus_property_get_label(prop)->text));
243
243
244
		char space = ' ';
244
		char space = ' ';
245
		draw_text(x, y, COLOR_FG, COLOR_BG, &space, 1);
245
		draw_text(x, y, COLOR_FG, COLOR_BG, &space, 1);

Return to bug 420933