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

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

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

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

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

Loading…
Cancel
Save