diff options
author | dscho <dscho> | 2002-04-30 06:49:45 +0000 |
---|---|---|
committer | dscho <dscho> | 2002-04-30 06:49:45 +0000 |
commit | 103df7394af3b6cc046a681ad0d6b554586d26d1 (patch) | |
tree | 5f117a7a6e6ac266df63c39e2fbf1342228457a9 /mac.c | |
parent | 11deabd325f252b900754b2830cd2b600c302ca1 (diff) | |
download | libtdevnc-103df7394af3b6cc046a681ad0d6b554586d26d1.tar.gz libtdevnc-103df7394af3b6cc046a681ad0d6b554586d26d1.zip |
Mac compile fix
Diffstat (limited to 'mac.c')
-rw-r--r-- | mac.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -287,9 +287,9 @@ ScreenInit(int argc, char**argv) CGDisplayPixelsHigh(kCGDirectMainDisplay), bitsPerSample, CGDisplaySamplesPerPixel(kCGDirectMainDisplay),4); - rfbScreen->rfbServerFormat->redShift = bitsPerSample*2; - rfbScreen->rfbServerFormat->greenShift = bitsPerSample*1; - rfbScreen->rfbServerFormat->blueShift = 0; + rfbScreen->rfbServerFormat.redShift = bitsPerSample*2; + rfbScreen->rfbServerFormat.greenShift = bitsPerSample*1; + rfbScreen->rfbServerFormat.blueShift = 0; gethostname(rfbScreen->rfbThisHost, 255); rfbScreen->paddedWidthInBytes = CGDisplayBytesPerRow(kCGDirectMainDisplay); |