Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
libvncserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
libvncserver
Commits
cddeb0d9
Commit
cddeb0d9
authored
Dec 14, 2001
by
dscho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*argc=0 in cargs allowed, when copying area, first undraw cursor ...
parent
11651ff2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
cargs.c
cargs.c
+3
-0
main.c
main.c
+2
-0
No files found.
cargs.c
View file @
cddeb0d9
...
@@ -40,6 +40,8 @@ rfbProcessArguments(rfbScreenInfoPtr rfbScreen,int* argc, char *argv[])
...
@@ -40,6 +40,8 @@ rfbProcessArguments(rfbScreenInfoPtr rfbScreen,int* argc, char *argv[])
{
{
int
i
,
i1
;
int
i
,
i1
;
if
(
!
argc
)
return
;
for
(
i
=
i1
=
1
;
i
<
*
argc
;
i
++
)
{
for
(
i
=
i1
=
1
;
i
<
*
argc
;
i
++
)
{
if
(
strcmp
(
argv
[
i
],
"-help"
)
==
0
)
{
if
(
strcmp
(
argv
[
i
],
"-help"
)
==
0
)
{
rfbUsage
();
rfbUsage
();
...
@@ -101,6 +103,7 @@ rfbProcessSizeArguments(int* width,int* height,int* bpp,int* argc, char *argv[])
...
@@ -101,6 +103,7 @@ rfbProcessSizeArguments(int* width,int* height,int* bpp,int* argc, char *argv[])
{
{
int
i
,
i1
;
int
i
,
i1
;
if
(
!
argc
)
return
;
for
(
i
=
i1
=
1
;
i
<
*
argc
-
1
;
i
++
)
{
for
(
i
=
i1
=
1
;
i
<
*
argc
-
1
;
i
++
)
{
if
(
strcmp
(
argv
[
i
],
"-bpp"
)
==
0
)
{
if
(
strcmp
(
argv
[
i
],
"-bpp"
)
==
0
)
{
*
bpp
=
atoi
(
argv
[
++
i
]);
*
bpp
=
atoi
(
argv
[
++
i
]);
...
...
main.c
View file @
cddeb0d9
...
@@ -143,6 +143,8 @@ void rfbDoCopyRegion(rfbScreenInfoPtr rfbScreen,sraRegionPtr copyRegion,int dx,i
...
@@ -143,6 +143,8 @@ void rfbDoCopyRegion(rfbScreenInfoPtr rfbScreen,sraRegionPtr copyRegion,int dx,i
rowstride
=
rfbScreen
->
paddedWidthInBytes
;
rowstride
=
rfbScreen
->
paddedWidthInBytes
;
char
*
in
,
*
out
;
char
*
in
,
*
out
;
rfbUndrawCursor
(
rfbScreen
);
/* copy it, really */
/* copy it, really */
i
=
sraRgnGetReverseIterator
(
copyRegion
,
dx
<
0
,
dy
<
0
);
i
=
sraRgnGetReverseIterator
(
copyRegion
,
dx
<
0
,
dy
<
0
);
while
(
sraRgnIteratorNext
(
i
,
&
rect
))
{
while
(
sraRgnIteratorNext
(
i
,
&
rect
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment