changeset 1658:c005d84e9bf8

Rename function argument.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 30 May 2018 13:53:57 +0300
parents 2b6dbdd602b5
children 99b8ab61dc1b
files tools/libgfx.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tools/libgfx.c	Wed May 30 13:48:27 2018 +0300
+++ b/tools/libgfx.c	Wed May 30 13:53:57 2018 +0300
@@ -1624,10 +1624,10 @@
 }
 
 
-static void dmDecodeBitPlane(Uint8 *dp, const Uint8 *src, const int width, const int nplane)
+static void dmDecodeBitPlane(Uint8 *dst, const Uint8 *src, const int width, const int nplane)
 {
     for (int xc = 0; xc < width; xc++)
-        dp[xc] |= dmDecodeBit(src, xc) << nplane;
+        dst[xc] |= dmDecodeBit(src, xc) << nplane;
 }