[X2Go-Commits] [x2gokdrive] 01/02: x2gokdriveremove.c: Regression fix for f5cbefa0 (and also for incomplete 889a3f2b). Fix incomplete renaming of index variable in for loop.
git-admin at x2go.org
git-admin at x2go.org
Sun Jul 21 17:46:36 CEST 2019
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2gokdrive.
commit 1b8ad24bb1565e0edef52bddb9c08cf1c3544a78
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Sun Jul 21 17:45:18 2019 +0200
x2gokdriveremove.c: Regression fix for f5cbefa0 (and also for incomplete 889a3f2b). Fix incomplete renaming of index variable in for loop.
---
x2gokdriveremote.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/x2gokdriveremote.c b/x2gokdriveremote.c
index 3dcfe29..d2e7833 100644
--- a/x2gokdriveremote.c
+++ b/x2gokdriveremote.c
@@ -1989,7 +1989,7 @@ clientReadNotify(int fd, int ready, void *data)
memset(screens,0, sizeof(struct VirtScreen)*4);
for(int j=0;j<4;++j)
{
- char* record=buff+9+i*8;
+ char* record=buff+9+j*8;
screens[j].width=*((uint16_t*)record);
screens[j].height=*((uint16_t*)record+1);
screens[j].x=*((int16_t*)record+2);
@@ -1999,7 +1999,7 @@ clientReadNotify(int fd, int ready, void *data)
{
break;
}
- EPHYR_DBG("SCREEN %d - (%dx%d) - %d,%d", i, screens[j].width, screens[j].height, screens[j].x, screens[j].y);
+ EPHYR_DBG("SCREEN %d - (%dx%d) - %d,%d", j, screens[j].width, screens[j].height, screens[j].x, screens[j].y);
}
ephyrResizeScreen (remoteVars.ephyrScreen->pScreen,width,height, screens);
break;
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gokdrive.git
More information about the x2go-commits
mailing list