--- a/src/order_gui.cpp Sat Nov 03 23:34:12 2007 +0000
+++ b/src/order_gui.cpp Sun Nov 04 00:08:57 2007 +0000
@@ -238,9 +238,8 @@
default: break;
}
- const byte colour = (i == WP(w,order_d).sel) ? 0xC : 0x10;
SetDParam(0, i + 1);
- DrawString(2, y, str, colour);
+ DrawString(2, y, str, (i == WP(w,order_d).sel) ? TC_WHITE : TC_BLACK);
y += 10;
}
@@ -251,8 +250,7 @@
if (i - w->vscroll.pos < w->vscroll.cap) {
str = shared_orders ? STR_END_OF_SHARED_ORDERS : STR_882A_END_OF_ORDERS;
- const byte colour = (i == WP(w,order_d).sel) ? 0xC : 0x10;
- DrawString(2, y, str, colour);
+ DrawString(2, y, str, (i == WP(w,order_d).sel) ? TC_WHITE : TC_BLACK);
}
}