ref: 0beacde9afd629a61994d1eac8a084ddc4f357f7
parent: df634b2ca4bd940a61946a3bbda3881bed1a09d6
author: Yaroslav Kolomiiets <yarikos@gmail.com>
date: Tue Mar 22 08:56:41 EDT 2016
fix compilation
--- a/cap.c
+++ b/cap.c
@@ -89,8 +89,8 @@
}
caps->bitmap = 1;
caps->depth = GSHORT(p+4);
- caps->width = GSHORT(p+12);
- caps->height = GSHORT(p+14);
+ caps->xsz = GSHORT(p+12);
+ caps->ysz = GSHORT(p+14);
break;
}
p += len;
--- a/dat.h
+++ b/dat.h
@@ -145,7 +145,7 @@
int ver; /* Mconnect, Mconnected */
int xsz; /* Mconnect, Dsupress, Mactivated */
int ysz; /* Mconnect, Dsupress, Mactivated */
- int height; /* Mconnect, Dsupress, Mactivated */
+ int depth; /* Mconnect, Dsupress, Mactivated */
char *sysname; /* Mconnect, Dclientinfo, Lreq */
int sproto; /* Mconnect */
int wantconsole; /* Mconnect */