summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authordscho <dscho>2004-06-18 09:12:25 +0000
committerdscho <dscho>2004-06-18 09:12:25 +0000
commit97a1de323bf3ab96cc35e254c770eda75feb3b29 (patch)
tree43ea6a5b1b81be03fa9dfa709c11e6221f118579 /examples
parenta6d341c01e3356f08de27617c74ebd1b2a3501b5 (diff)
downloadlibtdevnc-97a1de323bf3ab96cc35e254c770eda75feb3b29.tar.gz
libtdevnc-97a1de323bf3ab96cc35e254c770eda75feb3b29.zip
now that the examples reside in a subdirectory, the classes path has to be adapted
Diffstat (limited to 'examples')
-rw-r--r--examples/example.c2
-rw-r--r--examples/pnmshow.c2
-rw-r--r--examples/pnmshow24.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/example.c b/examples/example.c
index 9a12579..f722d94 100644
--- a/examples/example.c
+++ b/examples/example.c
@@ -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);
diff --git a/examples/pnmshow.c b/examples/pnmshow.c
index c02be10..99676d8 100644
--- a/examples/pnmshow.c
+++ b/examples/pnmshow.c
@@ -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);
diff --git a/examples/pnmshow24.c b/examples/pnmshow24.c
index f44e08b..41e0335 100644
--- a/examples/pnmshow24.c
+++ b/examples/pnmshow24.c
@@ -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);