various: Window objects should be initialised to 0 not NULL

This commit is contained in:
Peter Howkins
2021-12-24 17:00:13 +00:00
committed by Jon Trulson
parent 5a763ae48b
commit 341fdfbe71
3 changed files with 3 additions and 3 deletions

View File

@@ -222,7 +222,7 @@ void MainWindow::PopupMenu(Widget widget, XtPointer client_data,
{
XRectangle pixmap_rect, label_rect;
XButtonEvent * ev;
Window child, parent = NULL, root;
Window child, parent = 0, root;
int root_x, root_y, win_x, win_y;
unsigned int modMask;
Display * display = XtDisplay(widget);