From 511de16e5c5368833c554cf45abec3b100a318fe Mon Sep 17 00:00:00 2001 From: Mo Xiaoming Date: Sat, 27 Feb 2021 16:50:13 +0800 Subject: [PATCH] fix missing return values --- captureWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/captureWindow.cpp b/captureWindow.cpp index 0f28422..f6cd0cf 100644 --- a/captureWindow.cpp +++ b/captureWindow.cpp @@ -218,7 +218,7 @@ int CaptureWindow::GetWindowHeight() const // GetWidget glWidget* CaptureWindow::GetWidget( int index ) const { - display->GetWidget(index); + return display->GetWidget(index); }