Skip to content

Commit

Permalink
fail -> panic
Browse files Browse the repository at this point in the history
  • Loading branch information
steveklabnik committed Oct 30, 2014
1 parent 259c826 commit 20ffaca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion allegro/src/internal/bitmap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ unsafe fn handle_bitmap_destruction(bmp: *mut ALLEGRO_BITMAP, is_sub_bitmap: boo
let target = al_get_target_bitmap();
if target.is_null()
{
fail!("Null target bitmap!");
panic!("Null target bitmap!");
}
if target == bmp || (!is_sub_bitmap && al_get_parent_bitmap(target) == bmp)
{
Expand Down

0 comments on commit 20ffaca

Please sign in to comment.