sdl12-compat: SDL_LowerBlit: fix typo srcrect12 -> dstrect12

From 6225117d33159eafab8aaeeb41947dbc963a2083 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Mon, 1 Mar 2021 20:55:00 +0300
Subject: [PATCH] SDL_LowerBlit: fix typo srcrect12 -> dstrect12

---
 src/SDL12_compat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/SDL12_compat.c b/src/SDL12_compat.c
index 114aa5a..a905710 100644
--- a/src/SDL12_compat.c
+++ b/src/SDL12_compat.c
@@ -3363,7 +3363,7 @@ SDL_LowerBlit(SDL12_Surface *src12, SDL12_Rect *srcrect12, SDL12_Surface *dst12,
         Rect20to12(&srcrect20, srcrect12);
     }
 
-    if (srcrect12) {
+    if (dstrect12) {
         Rect20to12(&dstrect20, dstrect12);
     }