Win32 editor: Fix selection of textures with names included in other texture names (e.g. rock and rock_smooth).

shapetextures
Sven Eberhardt 2015-10-09 00:51:07 -04:00
parent 7e21bb2572
commit a81249438a
1 changed files with 1 additions and 1 deletions

View File

@ -1081,7 +1081,7 @@ void C4ToolsDlg::UpdateTextures()
}
}
// reselect current
SendDlgItemMessage(state->hDialog, box, CB_SELECTSTRING, 0, GetWideLPARAM(texture));
SendDlgItemMessage(state->hDialog, box, CB_SELECTSTRING, -1, GetWideLPARAM(texture));
}
}