Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clicking button of removed company in company list causes crash. #4592

Closed
DorpsGek opened this issue Apr 13, 2011 · 2 comments
Closed

Clicking button of removed company in company list causes crash. #4592

DorpsGek opened this issue Apr 13, 2011 · 2 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

DrMagnusson opened the ticket and wrote:

When a company is removed, it's company list entry remains in the company list, if the list was open before the company was removed.

If the blank entry is clicked, the game crashes.

Attachments

Reported version: 1.1.0
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/4592
@DorpsGek
Copy link
Member Author

Terkhen wrote:

openttd.exe!FormatString(char * buff, const char * str_arg, __int64 * argv, const __int64 * argve, unsigned int casei, const char * last, unsigned int * argt, bool dry_run) Line 1184 C++
openttd.exe!FormatString(char * buff, const char * str_arg, __int64 * argv, const __int64 * argve, unsigned int casei, const char * last, unsigned int * argt, bool dry_run) Line 671 C++
openttd.exe!GetStringWithArgs(char * buffr, unsigned int string, __int64 * argv, const __int64 * argve, const char * last, unsigned int * argt) Line 197 C++
openttd.exe!FormatString(char * buff, const char * str_arg, __int64 * argv, const __int64 * argve, unsigned int casei, const char * last, unsigned int * argt, bool dry_run) Line 809 + 0x22 Bytes C++
openttd.exe!FormatString(char * buff, const char * str_arg, __int64 * argv, const __int64 * argve, unsigned int casei, const char * last, unsigned int * argt, bool dry_run) Line 671 C++
openttd.exe!GetStringWithArgs(char * buffr, unsigned int string, int64 * argv, const int64 * argve, const char * last, unsigned int * argt) Line 197 C++
openttd.exe!GetString(char * buffr, unsigned short string, const char * last) Line 203 C++
openttd.exe!GetStringBoundingBox(unsigned short strid) Line 1022 C++
openttd.exe!NWidgetLeaf::SetupSmallestSize(Window * w, bool init_array) Line 2176 + 0x9 Bytes C++
openttd.exe!NWidgetHorizontal::SetupSmallestSize(Window * w, bool init_array) Line 1057 C++
openttd.exe!NWidgetVertical::SetupSmallestSize(Window * w, bool init_array) Line 1209 C++
openttd.exe!Window::InitializeData(const WindowDesc * desc, int window_number) Line 920 C++
openttd.exe!Window::FinishInitNested(const WindowDesc * desc, int window_number) Line 1297 C++
openttd.exe!VehicleListWindow::VehicleListWindow(const WindowDesc * desc, int window_number) Line 1387 C++
openttd.exe!ShowVehicleListWindowLocal(Owner company, VehicleListType vlt, VehicleType vehicle_type, unsigned short unique_number) Line 1650 + 0x5b Bytes C++
openttd.exe!ShowVehicleListWindow(Owner company, VehicleType vehicle_type) Line 1665 C++
openttd.exe!MenuClickShowTrains(int index) Line 622 C++
openttd.exe!MainToolbarWindow::OnDropdownSelect(int widget, int index) Line 1397 C++
openttd.exe!DropdownWindow::OnMouseLoop() Line 291 C++
openttd.exe!InputLoop() Line 2386 + 0x63 Bytes C++
openttd.exe!GameLoop() Line 1313 C++
openttd.exe!VideoDriver_Win32::MainLoop() Line 893 C++
openttd.exe!ttd_main(int argc, char * * argv) Line 761 C++
openttd.exe!WinMain(HINSTANCE * hInstance, HINSTANCE
* hPrevInstance, char * lpCmdLine, int nCmdShow) Line 432 C++
openttd.exe!__tmainCRTStartup() Line 263 + 0x21 Bytes C


This comment was imported from FlySpray: https://bugs.openttd.org/task/4592#comment9888

@DorpsGek
Copy link
Member Author

Yexo closed the ticket.

Reason for closing: Fixed

In r22373


This comment was imported from FlySpray: https://bugs.openttd.org/task/4592

@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant