Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libSDL
Project
Project
Details
Activity
Releases
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
PocketInsanity
libSDL
Commits
c1483580
Commit
c1483580
authored
Jul 11, 2010
by
Eli Gottlieb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a pair of syntax errors.
parent
559963b1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
SDL_shape.c
src/video/SDL_shape.c
+1
-1
SDL_x11shape.c
src/video/x11/SDL_x11shape.c
+1
-1
No files found.
src/video/SDL_shape.c
View file @
c1483580
...
...
@@ -41,7 +41,7 @@ SDL_bool SDL_IsShapedWindow(const SDL_Window *window) {
if
(
window
==
NULL
)
return
SDL_FALSE
;
else
return
(
SDL_bool
)(
window
->
shaper
!=
NULL
)
return
(
SDL_bool
)(
window
->
shaper
!=
NULL
)
;
}
/* REQUIRES that bitmap point to a w-by-h bitmap with 1bpp. */
...
...
src/video/x11/SDL_x11shape.c
View file @
c1483580
...
...
@@ -33,7 +33,7 @@ SDL_WindowShaper* X11_CreateShaper(SDL_Window* window) {
result
->
usershownflag
=
0
;
result
->
driverdata
=
malloc
(
sizeof
(
SDL_ShapeData
));
window
->
shaper
=
result
;
int
resized_properly
=
X11ResizeWindowShape
(
window
);
int
resized_properly
=
X11
_
ResizeWindowShape
(
window
);
assert
(
resized_properly
==
0
);
return
result
;
}
...
...
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