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
27b0c0de
Commit
27b0c0de
authored
Aug 16, 2014
by
Johannes Schindelin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix indentation
Signed-off-by:
Johannes Schindelin
<
johannes.schindelin@gmx.de
>
parent
ba710eb1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
rfbproto.c
libvncclient/rfbproto.c
+2
-2
vncviewer.c
libvncclient/vncviewer.c
+1
-1
No files found.
libvncclient/rfbproto.c
View file @
27b0c0de
...
...
@@ -1829,8 +1829,8 @@ HandleRFBServerMessage(rfbClient* client)
client
->
updateRect
.
x
=
client
->
updateRect
.
y
=
0
;
client
->
updateRect
.
w
=
client
->
width
;
client
->
updateRect
.
h
=
client
->
height
;
if
(
!
client
->
MallocFrameBuffer
(
client
))
return
FALSE
;
if
(
!
client
->
MallocFrameBuffer
(
client
))
return
FALSE
;
SendFramebufferUpdateRequest
(
client
,
0
,
0
,
rect
.
r
.
w
,
rect
.
r
.
h
,
FALSE
);
rfbClientLog
(
"Got new framebuffer size: %dx%d
\n
"
,
rect
.
r
.
w
,
rect
.
r
.
h
);
continue
;
...
...
libvncclient/vncviewer.c
View file @
27b0c0de
...
...
@@ -82,7 +82,7 @@ static char* ReadPassword(rfbClient* client) {
#endif
}
static
rfbBool
MallocFrameBuffer
(
rfbClient
*
client
)
{
uint64_t
allocSize
;
uint64_t
allocSize
;
if
(
client
->
frameBuffer
)
free
(
client
->
frameBuffer
);
...
...
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