equal
deleted
inserted
replaced
925 /* Show the correct currency-translated value */ |
925 /* Show the correct currency-translated value */ |
926 if (sd->desc.flags & SGF_CURRENCY) value *= _currency->rate; |
926 if (sd->desc.flags & SGF_CURRENCY) value *= _currency->rate; |
927 |
927 |
928 this->entry = btn; |
928 this->entry = btn; |
929 SetDParam(0, value); |
929 SetDParam(0, value); |
930 ShowQueryString(STR_CONFIG_PATCHES_INT32, STR_CONFIG_PATCHES_QUERY_CAPT, 10, 100, this, CS_NUMERAL); |
930 ShowQueryString(STR_CONFIG_PATCHES_INT32, STR_CONFIG_PATCHES_QUERY_CAPT, 10, 100, this, CS_NUMERAL, QSF_NONE); |
931 } |
931 } |
932 } |
932 } |
933 } break; |
933 } break; |
934 |
934 |
935 case PATCHSEL_INTERFACE: case PATCHSEL_CONSTRUCTION: case PATCHSEL_VEHICLES: |
935 case PATCHSEL_INTERFACE: case PATCHSEL_CONSTRUCTION: case PATCHSEL_VEHICLES: |
1163 break; |
1163 break; |
1164 } |
1164 } |
1165 |
1165 |
1166 if (len != 0) { |
1166 if (len != 0) { |
1167 this->query_widget = line; |
1167 this->query_widget = line; |
1168 ShowQueryString(str, STR_CURRENCY_CHANGE_PARAMETER, len + 1, 250, this, afilter); |
1168 ShowQueryString(str, STR_CURRENCY_CHANGE_PARAMETER, len + 1, 250, this, afilter, QSF_NONE); |
1169 } |
1169 } |
1170 |
1170 |
1171 this->flags4 |= 5 << WF_TIMEOUT_SHL; |
1171 this->flags4 |= 5 << WF_TIMEOUT_SHL; |
1172 this->SetDirty(); |
1172 this->SetDirty(); |
1173 } |
1173 } |