Commit 97a1de32 authored by dscho's avatar dscho

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

parent a6d341c0
...@@ -281,7 +281,7 @@ int main(int argc,char** argv) ...@@ -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) ...@@ -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) ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment