Skip to content

Commit 9f30a1f

Browse files
committed
fixed duplicated call for getting panel info
1 parent 971d514 commit 9f30a1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/webos/SDL_webos_panelinfo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ SDL_bool SDL_webOSGetPanelResolution(int *width, int *height) {
2323
}
2424
free(response);
2525
}
26-
if (SDL_webOSLunaServiceCallSync("luna://com.webos.service.tv.systemproperty/getSystemInfo",
26+
if (!result && SDL_webOSLunaServiceCallSync("luna://com.webos.service.tv.systemproperty/getSystemInfo",
2727
"{\"keys\": [\"UHD\"]}", 1, &response) && response != NULL) {
2828
jdomparser_ref parser = NULL;
2929
jvalue_ref parsed;

0 commit comments

Comments
 (0)