File diff r5428:f3458f5e2b60 → r5429:fdcdacfe53ee
misc_gui.c
Show inline comments
 
@@ -1223,13 +1223,16 @@ static void QueryWndProc(Window *w, Wind
 
					DeleteWindow(w);
 
					break;
 
			}
 
			break;
 

	
 
		case WE_DESTROY: /* Call callback function (if any) on window close if not yet called */
 
			if (!q->calledback && q->proc != NULL) q->proc(w->parent, false);
 
			if (!q->calledback && q->proc != NULL) {
 
				q->calledback = true;
 
				q->proc(w->parent, false);
 
			}
 
			break;
 
	}
 
}
 

	
 

	
 
static const Widget _query_widgets[] = {