now that the examples reside in a subdirectory, the classes path has to be adapted

pull/1/head
dscho 20 years ago
parent a6d341c01e
commit 97a1de323b

@ -281,7 +281,7 @@ int main(int argc,char** argv)
rfbScreen->ptrAddEvent = doptr; rfbScreen->ptrAddEvent = doptr;
rfbScreen->kbdAddEvent = dokey; rfbScreen->kbdAddEvent = dokey;
rfbScreen->newClientHook = newclient; rfbScreen->newClientHook = newclient;
rfbScreen->httpDir = "./classes"; rfbScreen->httpDir = "../classes";
rfbScreen->httpEnableProxyConnect = TRUE; rfbScreen->httpEnableProxyConnect = TRUE;
initBuffer((unsigned char*)rfbScreen->frameBuffer); initBuffer((unsigned char*)rfbScreen->frameBuffer);

@ -68,7 +68,7 @@ int main(int argc,char** argv)
rfbScreen->kbdAddEvent = HandleKey; rfbScreen->kbdAddEvent = HandleKey;
/* enable http */ /* enable http */
rfbScreen->httpDir = "./classes"; rfbScreen->httpDir = "../classes";
/* allocate picture and read it */ /* allocate picture and read it */
rfbScreen->frameBuffer = (char*)malloc(paddedWidth*bytesPerPixel*height); rfbScreen->frameBuffer = (char*)malloc(paddedWidth*bytesPerPixel*height);

@ -61,7 +61,7 @@ int main(int argc,char** argv)
rfbScreen->kbdAddEvent = HandleKey; rfbScreen->kbdAddEvent = HandleKey;
/* enable http */ /* enable http */
rfbScreen->httpDir = "./classes"; rfbScreen->httpDir = "../classes";
/* allocate picture and read it */ /* allocate picture and read it */
rfbScreen->frameBuffer = (char*)malloc(paddedWidth*3*height); rfbScreen->frameBuffer = (char*)malloc(paddedWidth*3*height);

Loading…
Cancel
Save