aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-09-01 23:03:11 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-09-29 17:15:25 +0200
commit7ca51c52962c19cfc8a487943c1fd603563b8cf8 (patch)
tree1abb1686ec750f0af77b0c167eb34278ad5358f2 /nx-X11/programs
parent087b082c759d5a21f7d96dcb1468026f93b3dde8 (diff)
downloadnx-libs-7ca51c52962c19cfc8a487943c1fd603563b8cf8.tar.gz
nx-libs-7ca51c52962c19cfc8a487943c1fd603563b8cf8.tar.bz2
nx-libs-7ca51c52962c19cfc8a487943c1fd603563b8cf8.zip
Render.c. simplify nxagentMatchingFormats
Diffstat (limited to 'nx-X11/programs')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Render.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Render.c b/nx-X11/programs/Xserver/hw/nxagent/Render.c
index 57d0dfc01..32639172b 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Render.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Render.c
@@ -794,9 +794,7 @@ int nxagentCreatePicture(PicturePtr pPicture, Mask mask)
XRenderPictFormat *nxagentMatchingFormats(PictFormatPtr pFormat)
{
- int i;
-
- for (i = 0; i < nxagentNumFormats; i++)
+ for (int i = 0; i < nxagentNumFormats; i++)
{
if (pFormat -> type == nxagentArrayFormats[i].type &&
pFormat -> depth == nxagentArrayFormats[i].depth &&