Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
GIMP
Commits
42185929
Commit
42185929
authored
Aug 02, 1998
by
scott
Browse files
Added an assertion check in tile_manager.c to catch inappropriate sharing
attempts. --sg
parent
81a6cba1
Changes
3
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
42185929
Sat Aug 1 20:50:47 1998 Scott Goehring <scott@poverty.bloomington.in.us>
* app/tile_manager.c: Added an assertion check in tile_manager_map
Fri Jul 31 15:41:30 PDT 1998 Manish Singh <yosh@gimp.org>
* applied gimp-alt-980729-0 and gimp-alt-980730-0, adds brush
...
...
app/base/tile-manager.c
View file @
42185929
...
...
@@ -596,6 +596,11 @@ tile_manager_map (TileManager *tm,
/* printf(")");fflush(stdout);*/
TILE_MUTEX_LOCK
(
*
tile_ptr
);
if
((
*
tile_ptr
)
->
ewidth
!=
srctile
->
ewidth
||
(
*
tile_ptr
)
->
eheight
!=
srctile
->
eheight
||
(
*
tile_ptr
)
->
bpp
!=
srctile
->
bpp
)
{
g_warning
(
"tile_manager_map: nonconformant map (%p -> %p)"
,
srctile
,
*
tile_ptr
);
tile_detach
(
*
tile_ptr
,
tm
,
tile_num
);
/* printf(">");fflush(stdout);*/
...
...
app/tile_manager.c
View file @
42185929
...
...
@@ -596,6 +596,11 @@ tile_manager_map (TileManager *tm,
/* printf(")");fflush(stdout);*/
TILE_MUTEX_LOCK
(
*
tile_ptr
);
if
((
*
tile_ptr
)
->
ewidth
!=
srctile
->
ewidth
||
(
*
tile_ptr
)
->
eheight
!=
srctile
->
eheight
||
(
*
tile_ptr
)
->
bpp
!=
srctile
->
bpp
)
{
g_warning
(
"tile_manager_map: nonconformant map (%p -> %p)"
,
srctile
,
*
tile_ptr
);
tile_detach
(
*
tile_ptr
,
tm
,
tile_num
);
/* printf(">");fflush(stdout);*/
...
...
Write
Preview
Supports
Markdown
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