Skip to content

Commit 144bcf8

Browse files
shatteredpkoning2
authored andcommitted
Expand tabs.
1 parent c985bf2 commit 144bcf8

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

sim_video.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2617,12 +2617,12 @@ if (1) {
26172617
SDL_Surface *sshot = sim_end ? SDL_CreateRGBSurface(0, vptr->vid_width, vptr->vid_height, 32, 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000) :
26182618
SDL_CreateRGBSurface(0, vptr->vid_width, vptr->vid_height, 32, 0x0000ff00, 0x000ff000, 0xff000000, 0x000000ff) ;
26192619
if (!sshot)
2620-
return SCPE_MEM;
2620+
return SCPE_MEM;
26212621
if (SDL_RenderReadPixels(vptr->vid_renderer, NULL, SDL_PIXELFORMAT_ARGB8888, sshot->pixels, sshot->pitch) != 0) {
2622-
SDL_FreeSurface(sshot);
2623-
sim_printf ("Error creating screenshot: %s\n", SDL_GetError());
2624-
return SCPE_ARG | SCPE_NOMESSAGE;
2625-
}
2622+
SDL_FreeSurface(sshot);
2623+
sim_printf ("Error creating screenshot: %s\n", SDL_GetError());
2624+
return SCPE_ARG | SCPE_NOMESSAGE;
2625+
}
26262626
#if defined(HAVE_LIBPNG)
26272627
if (!match_ext (filename, "bmp")) {
26282628
sprintf (fullname, "%s%s", filename, match_ext (filename, "png") ? "" : ".png");

0 commit comments

Comments
 (0)