The sbTips array is now set to all 0's on initialization so that the functions to create tips no longer mistakenly think the pointers are non-null due to unpredictable data, should get rid of the start/setting changes crashes.
This commit is contained in:
@@ -1088,6 +1088,7 @@ void update_status_bar_panes(HWND hwnds)
|
||||
memset(sb_part_icons, 0, sb_parts * sizeof(int));
|
||||
memset(sb_icon_flags, 0, sb_parts * sizeof(int));
|
||||
memset(sb_menu_handles, 0, sb_parts * sizeof(HMENU));
|
||||
memset(sbTips, 0, sb_parts * sizeof(WCHAR *));
|
||||
|
||||
sb_parts = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user