Skip to content

Display and control your Android device

Fix inverted check

Romain Vimont76b3fcf9863c
diff --git a/app/src/usb/screen_otg.c b/app/src/usb/screen_otg.c
index abdfc9a4..a8f72296 100644
--- a/app/src/usb/screen_otg.c
+++ b/app/src/usb/screen_otg.c
@@ -98,7 +98,7 @@ sc_screen_otg_init(struct sc_screen_otg *screen,
if (icon) {
SDL_SetWindowIcon(screen->window, icon);
- if (!SDL_RenderSetLogicalSize(screen->renderer, icon->w, icon->h)) {
+ if (SDL_RenderSetLogicalSize(screen->renderer, icon->w, icon->h)) {
LOGW("Could not set renderer logical size: %s", SDL_GetError());
// don't fail
}