mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2025-03-04 09:11:27 +01:00
return -1 instead of 0 on one of error conditions
This commit is contained in:
parent
194a81fa55
commit
1d1c62432e
1 changed files with 1 additions and 1 deletions
|
@ -461,7 +461,7 @@ int main(int argc, char **argv){
|
||||||
fprintf(stderr, "failed to initialize image addon!\n");
|
fprintf(stderr, "failed to initialize image addon!\n");
|
||||||
/*al_show_native_message_box(display, "Error", "Error", "Failed to initialize al_init_image_addon!",
|
/*al_show_native_message_box(display, "Error", "Error", "Failed to initialize al_init_image_addon!",
|
||||||
NULL, ALLEGRO_MESSAGEBOX_ERROR);*/
|
NULL, ALLEGRO_MESSAGEBOX_ERROR);*/
|
||||||
return 0;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!al_init_acodec_addon()){
|
if(!al_init_acodec_addon()){
|
||||||
|
|
Loading…
Add table
Reference in a new issue