equal
deleted
inserted
replaced
552 assert(IsValidGroupID(this->group_sel)); |
552 assert(IsValidGroupID(this->group_sel)); |
553 |
553 |
554 const Group *g = GetGroup(this->group_sel); |
554 const Group *g = GetGroup(this->group_sel); |
555 |
555 |
556 SetDParam(0, g->index); |
556 SetDParam(0, g->index); |
557 ShowQueryString(STR_GROUP_NAME, STR_GROUP_RENAME_CAPTION, 31, 150, this, CS_ALPHANUMERAL); |
557 ShowQueryString(STR_GROUP_NAME, STR_GROUP_RENAME_CAPTION, MAX_LENGTH_GROUP_NAME_BYTES, MAX_LENGTH_GROUP_NAME_PIXELS, this, CS_ALPHANUMERAL); |
558 } break; |
558 } break; |
559 |
559 |
560 |
560 |
561 case GRP_WIDGET_AVAILABLE_VEHICLES: |
561 case GRP_WIDGET_AVAILABLE_VEHICLES: |
562 ShowBuildVehicleWindow(0, this->vehicle_type); |
562 ShowBuildVehicleWindow(0, this->vehicle_type); |