equal
deleted
inserted
replaced
553 |
553 |
554 /** Configures the rail toolbar for railtype given |
554 /** Configures the rail toolbar for railtype given |
555 * @param railtype the railtype to display |
555 * @param railtype the railtype to display |
556 * @param w the window to modify |
556 * @param w the window to modify |
557 */ |
557 */ |
558 static void SetupRailToolbar(RailType railtype, Window* w) |
558 static void SetupRailToolbar(RailType railtype, Window *w) |
559 { |
559 { |
560 const RailtypeInfo *rti = GetRailTypeInfo(railtype); |
560 const RailtypeInfo *rti = GetRailTypeInfo(railtype); |
561 |
561 |
562 assert(railtype < RAILTYPE_END); |
562 assert(railtype < RAILTYPE_END); |
563 w->widget[RTW_CAPTION].unkA = rti->strings.toolbar_caption; |
563 w->widget[RTW_CAPTION].unkA = rti->strings.toolbar_caption; |