diff options
author | dscho <dscho> | 2003-07-28 12:01:07 +0000 |
---|---|---|
committer | dscho <dscho> | 2003-07-28 12:01:07 +0000 |
commit | 13b358fed1b89a7a7f8c47bc175dcb3ccae1e39b (patch) | |
tree | 8ca17b27e8b953403b93625381aa162d734c4287 /examples/fontsel.c | |
parent | eef408c1d84c7aaceb9732dd9a7e216886d2c2f8 (diff) | |
download | libtdevnc-13b358fed1b89a7a7f8c47bc175dcb3ccae1e39b.tar.gz libtdevnc-13b358fed1b89a7a7f8c47bc175dcb3ccae1e39b.zip |
fixed maxRectsPerUpdate with Tight encoding bug; some autoconfing; stderr should not be used in a library (use rfbLog instead)
Diffstat (limited to 'examples/fontsel.c')
-rw-r--r-- | examples/fontsel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/fontsel.c b/examples/fontsel.c index 5b9745e..9ff47a6 100644 --- a/examples/fontsel.c +++ b/examples/fontsel.c @@ -54,7 +54,7 @@ int main(int argc,char** argv) rfbScreen = s; font=rfbLoadConsoleFont(DEFAULTFONT); if(!font) { - fprintf(stderr,"Couldn't find %s\n",DEFAULTFONT); + rfbLog("Couldn't find %s\n",DEFAULTFONT); exit(1); } @@ -62,7 +62,7 @@ int main(int argc,char** argv) rfbProcessEvents(s,900000); i = rfbSelectBox(s,font,fontlist,10,20,200,300,0xffdfdf,0x602040,2,showFont); - fprintf(stderr,"Selection: %d: %s\n",i,(i>=0)?fontlist[i]:"cancelled"); + rfbLog("Selection: %d: %s\n",i,(i>=0)?fontlist[i]:"cancelled"); rfbFreeFont(font); |