equal
deleted
inserted
replaced
464 break; |
464 break; |
465 } |
465 } |
466 |
466 |
467 case SNGRFS_PRESET_SAVE: |
467 case SNGRFS_PRESET_SAVE: |
468 this->query_widget = widget; |
468 this->query_widget = widget; |
469 ShowQueryString(STR_EMPTY, STR_NEWGRF_PRESET_SAVE_QUERY, 32, 100, this, CS_ALPHANUMERAL); |
469 ShowQueryString(STR_EMPTY, STR_NEWGRF_PRESET_SAVE_QUERY, 32, 100, this, CS_ALPHANUMERAL, QSF_NONE); |
470 break; |
470 break; |
471 |
471 |
472 case SNGRFS_PRESET_DELETE: |
472 case SNGRFS_PRESET_DELETE: |
473 if (this->preset == -1) return; |
473 if (this->preset == -1) return; |
474 |
474 |
573 |
573 |
574 this->query_widget = widget; |
574 this->query_widget = widget; |
575 static char buff[512]; |
575 static char buff[512]; |
576 GRFBuildParamList(buff, this->sel, lastof(buff)); |
576 GRFBuildParamList(buff, this->sel, lastof(buff)); |
577 SetDParamStr(0, buff); |
577 SetDParamStr(0, buff); |
578 ShowQueryString(STR_JUST_RAW_STRING, STR_NEWGRF_PARAMETER_QUERY, 63, 250, this, CS_ALPHANUMERAL); |
578 ShowQueryString(STR_JUST_RAW_STRING, STR_NEWGRF_PARAMETER_QUERY, 63, 250, this, CS_ALPHANUMERAL, QSF_NONE); |
579 break; |
579 break; |
580 } |
580 } |
581 |
581 |
582 case SNGRFS_TOGGLE_PALETTE: { |
582 case SNGRFS_TOGGLE_PALETTE: { |
583 if (this->sel != NULL) { |
583 if (this->sel != NULL) { |