https://bugs.winehq.org/show_bug.cgi?id=44976
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- The program creates a config under HKEY_CURRENT_USER/Console, setting FontSize to 0x50000. Wine reads that setting wrong.
wineconsole/registry.c
count = sizeof(val); if (!RegQueryValueExW(hConKey, wszFontSize, 0, &type, (LPBYTE)&val, &count)) { cfg->cell_height = HIWORD(val); cfg->cell_width = LOWORD(val); }
cell_width end up being zero, and Wine take it as that. But that's not what's supposed to happen, and it later divides by zero.
MSDN Page relevant to this issue: https://technet.microsoft.com/en-us/library/cc978575.aspx
A value of 0x0 is not a null value, but reflects the default window settings.
I'll send in a test and a fix later.